PHP Class Cml\Console\Commands\Help

Inheritance: extends Cml\Console\Command
显示文件 Open project: linhecheng/cmlphp Class Usage Examples

Protected Properties

Property Type Description
$arguments
$description

Public Methods

Method Description
execute ( array $args, array $options = [] ) 执行命令入口

Private Methods

Method Description
formatArguments ( array $arguments ) : array 格式化参数
formatCommand ( ) : array 格式化命令
formatEcho ( Format $format, array $args ) 格式化输出
formatOptions ( array $options = [], string $command = '' ) : array 格式化选项

Method Details

execute() public method

执行命令入口
public execute ( array $args, array $options = [] )
$args array 参数
$options array 选项

Property Details

$arguments protected_oe property

protected $arguments

$description protected_oe property

protected $description