PHP Класс lithium\console\Router

Наследование: extends lithium\core\Object
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
parse ( Request $request = null ) : array Parse incoming request from console. Short and long (GNU-style) options in the form of -f, --foo, --foo-bar and --foo=bar are parsed.

Описание методов

parse() публичный статический Метод

XF68-style long options (i.e. -foo) are not supported but support can be added by extending this class.
public static parse ( Request $request = null ) : array
$request Request
Результат array $params