PHP 클래스 lithium\console\Router

상속: extends lithium\core\Object
파일 보기 프로젝트 열기: unionofrad/lithium 1 사용 예제들

공개 메소드들

메소드 설명
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