프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$args | array | ||
$description | string | ||
$flags | array | ||
$options | array | ||
$subCommands | array | ||
$usage | string |
메소드 | 설명 | |
---|---|---|
__toString ( ) | ||
fromCommandClass ( string $name, string $subCommand = null ) : |
Creates an Help object from a class subclassing Command | |
fromFQDN ( string $fqdn, string $subCommand = null ) : |
Creates an Help object from a FQDN | |
fromFunction ( string $name ) : |
Creates an Help object from a function | |
getArgs ( ) : array | ||
getDescrition ( ) : string | ||
getFlags ( ) : array | ||
getOptions ( ) : array | ||
getSubCommands ( ) : array | ||
getUsage ( ) : string | ||
hasSubCommands ( ) : boolean | ||
render ( ) : string |
메소드 | 설명 | |
---|---|---|
__construct ( string $text = '' ) | ||
parse ( ) |
public static fromCommandClass ( string $name, string $subCommand = null ) : |
||
$name | string | |
$subCommand | string | |
리턴 |
public static fromFunction ( string $name ) : |
||
$name | string | |
리턴 |