PHP 클래스 ConsoleKit\Help

파일 보기 프로젝트 열기: maximebf/consolekit 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$args array
$description string
$flags array
$options array
$subCommands array
$usage string

공개 메소드들

메소드 설명
__toString ( )
fromCommandClass ( string $name, string $subCommand = null ) : Help Creates an Help object from a class subclassing Command
fromFQDN ( string $fqdn, string $subCommand = null ) : Help Creates an Help object from a FQDN
fromFunction ( string $name ) : Help 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 ( )

메소드 상세

__construct() 보호된 메소드

protected __construct ( string $text = '' )
$text string

__toString() 공개 메소드

public __toString ( )

fromCommandClass() 공개 정적인 메소드

Creates an Help object from a class subclassing Command
public static fromCommandClass ( string $name, string $subCommand = null ) : Help
$name string
$subCommand string
리턴 Help

fromFQDN() 공개 정적인 메소드

Creates an Help object from a FQDN
public static fromFQDN ( string $fqdn, string $subCommand = null ) : Help
$fqdn string
$subCommand string
리턴 Help

fromFunction() 공개 정적인 메소드

Creates an Help object from a function
public static fromFunction ( string $name ) : Help
$name string
리턴 Help

getArgs() 공개 메소드

public getArgs ( ) : array
리턴 array

getDescrition() 공개 메소드

public getDescrition ( ) : string
리턴 string

getFlags() 공개 메소드

public getFlags ( ) : array
리턴 array

getOptions() 공개 메소드

public getOptions ( ) : array
리턴 array

getSubCommands() 공개 메소드

public getSubCommands ( ) : array
리턴 array

getUsage() 공개 메소드

public getUsage ( ) : string
리턴 string

hasSubCommands() 공개 메소드

public hasSubCommands ( ) : boolean
리턴 boolean

parse() 보호된 메소드

protected parse ( )

render() 공개 메소드

public render ( ) : string
리턴 string

프로퍼티 상세

$args 보호되어 있는 프로퍼티

protected array $args
리턴 array

$description 보호되어 있는 프로퍼티

protected string $description
리턴 string

$flags 보호되어 있는 프로퍼티

protected array $flags
리턴 array

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array

$subCommands 보호되어 있는 프로퍼티

protected array $subCommands
리턴 array

$usage 보호되어 있는 프로퍼티

protected string $usage
리턴 string