PHP 클래스 Cake\Shell\RoutesShell

상속: extends Cake\Console\Shell
파일 보기 프로젝트 열기: cakephp/cakephp

공개 메소드들

메소드 설명
check ( string $url ) : null | false Checks a url for the route that will be applied.
generate ( ) : null | false Generate a URL based on a set of parameters
getOptionParser ( ) : Cake\Console\ConsoleOptionParser Get the option parser.
main ( ) : void Override main() to handle action Displays all routes in an application.

보호된 메소드들

메소드 설명
_splitArgs ( array $args ) : array Split the CLI arguments into a hash.

메소드 상세

_splitArgs() 보호된 메소드

Split the CLI arguments into a hash.
protected _splitArgs ( array $args ) : array
$args array The arguments to split.
리턴 array

check() 공개 메소드

Checks a url for the route that will be applied.
public check ( string $url ) : null | false
$url string The URL to parse
리턴 null | false

generate() 공개 메소드

Takes variadic arguments of key/value pairs.
public generate ( ) : null | false
리턴 null | false

getOptionParser() 공개 메소드

Get the option parser.
public getOptionParser ( ) : Cake\Console\ConsoleOptionParser
리턴 Cake\Console\ConsoleOptionParser

main() 공개 메소드

Override main() to handle action Displays all routes in an application.
public main ( ) : void
리턴 void