src/Uri/UriGenerator.php
public function admin($data = null, $secure = false)
    {
        $data = (! is_null($data))
            ? $this->url . '/' . ADMIN_FOLDER . '/' . $data
            : $this->url . '/' . ADMIN_FOLDER . '/';
        return $this->getUrl($data, $secure);
    }
public function admin($data = null, $secure = false)
    {
        $data = (! is_null($data))
            ? $this->url . '/' . ADMIN_FOLDER . '/' . $data
            : $this->url . '/' . ADMIN_FOLDER . '/';
        return $this->getUrl($data, $secure);
    }
public function admin ( $ data = null , $ secure = false ) { $ data = ( ! is_null ( $ data ) ) ? $ this -> url . '/' . ADMIN_FOLDER . '/' . $ data : $ this -> url . '/' . ADMIN_FOLDER . '/' ; return $ this -> getUrl ( $ data , $ secure ) ; }
Get admin url for app.

@param string $data
@param bool   $secure

@return string
Get admin url for app .