PHP Class Kraken\Root\Console\Server\Provider\CommandProvider

Inheritance: extends Kraken\Container\ServiceProvider, implements Kraken\Container\ServiceProviderInterface
Datei anzeigen Open project: kraken-php/framework

Protected Methods

Method Description
boot ( Kraken\Container\ContainerInterface $core )
create ( string $class, mixed[] $params = [] ) : Kraken\Runtime\Command\CommandInterface
getAppCommands ( Kraken\Config\ConfigInterface $config, Kraken\Runtime\Command\CommandFactoryInterface $factory, Kraken\Runtime\RuntimeContainerInterface $runtime ) : Kraken\Runtime\Command\CommandInterface[]
getDefaultCommands ( Kraken\Runtime\RuntimeContainerInterface $runtime ) : Kraken\Runtime\Command\CommandInterface[]

Method Details

boot() protected method

protected boot ( Kraken\Container\ContainerInterface $core )
$core Kraken\Container\ContainerInterface

create() protected method

protected create ( string $class, mixed[] $params = [] ) : Kraken\Runtime\Command\CommandInterface
$class string
$params mixed[]
return Kraken\Runtime\Command\CommandInterface

getAppCommands() protected method

protected getAppCommands ( Kraken\Config\ConfigInterface $config, Kraken\Runtime\Command\CommandFactoryInterface $factory, Kraken\Runtime\RuntimeContainerInterface $runtime ) : Kraken\Runtime\Command\CommandInterface[]
$config Kraken\Config\ConfigInterface
$factory Kraken\Runtime\Command\CommandFactoryInterface
$runtime Kraken\Runtime\RuntimeContainerInterface
return Kraken\Runtime\Command\CommandInterface[]

getDefaultCommands() protected method

protected getDefaultCommands ( Kraken\Runtime\RuntimeContainerInterface $runtime ) : Kraken\Runtime\Command\CommandInterface[]
$runtime Kraken\Runtime\RuntimeContainerInterface
return Kraken\Runtime\Command\CommandInterface[]