PHP Class Kraken\Console\Client\Command\CommandFactory

Inheritance: extends Kraken\Util\Factory\Factory, implements CommandFactoryInterface
Show file Open project: kraken-php/framework Class Usage Examples

Public Methods

Method Description
__construct ( string[] $params = [] )

Protected Methods

Method Description
registerCommand ( string $alias, string $class ) Register command under class and alias.

Method Details

__construct() public method

public __construct ( string[] $params = [] )
$params string[]

registerCommand() protected method

Register command under class and alias.
protected registerCommand ( string $alias, string $class )
$alias string
$class string