Свойство | Тип | Описание | |
---|---|---|---|
$docComment | string | PHPdoc command for the command. |
Метод | Описание | |
---|---|---|
__construct ( string $docComment ) | ||
get_arg_args ( string $name ) : mixed | null | Get the arguments for a given argument. | |
get_arg_desc ( string $name ) : string | Get the description for a given argument. | |
get_longdesc ( ) : string | Get the command's full description | |
get_param_args ( string $key ) : mixed | null | Get the arguments for a given parameter. | |
get_param_desc ( string $key ) : string | Get the description for a given parameter. | |
get_shortdesc ( ) : string | Get the command's short description (e.g. summary). | |
get_synopsis ( ) : string | Get the command's synopsis. | |
get_tag ( string $name ) : string | Get the value for a given tag (e.g. "@alias" or "@subcommand") |
Метод | Описание | |
---|---|---|
get_arg_or_param_args ( string $regex ) : array | null | Get the args for an arg or param | |
remove_decorations ( string $comment ) : string | Remove unused cruft from PHPdoc comment. |
public get_arg_desc ( string $name ) : string | ||
$name | string | Argument's doc name. |
Результат | string |
public get_longdesc ( ) : string | ||
Результат | string |
public get_param_desc ( string $key ) : string | ||
$key | string | Parameter's key. |
Результат | string |
public get_shortdesc ( ) : string | ||
Результат | string |
public get_synopsis ( ) : string | ||
Результат | string |
protected string $docComment | ||
Результат | string |