PHP Class Kraken\Runtime\Command\CommandManager

Inheritance: implements Kraken\Runtime\Command\CommandManagerInterface
Afficher le fichier Open project: kraken-php/framework

Protected Properties

Свойство Type Description
$commands Kraken\Runtime\Command\CommandInterface[]

Méthodes publiques

Méthode Description
__construct ( Kraken\Runtime\Command\CommandInterface[] $commands = [] )
__destruct ( )
__invoke ( $name, $params = [] )
execute ( $name, $params = [] )
exists ( $name )
export ( )
get ( $name )
import ( $commands )
remove ( $name )
set ( $name, Kraken\Runtime\Command\CommandInterface $command )

Method Details

__construct() public méthode

public __construct ( Kraken\Runtime\Command\CommandInterface[] $commands = [] )
$commands Kraken\Runtime\Command\CommandInterface[]

__destruct() public méthode

public __destruct ( )

__invoke() public méthode

public __invoke ( $name, $params = [] )

execute() public méthode

public execute ( $name, $params = [] )

exists() public méthode

public exists ( $name )

export() public méthode

public export ( )

get() public méthode

public get ( $name )

import() public méthode

public import ( $commands )

remove() public méthode

public remove ( $name )

set() public méthode

public set ( $name, Kraken\Runtime\Command\CommandInterface $command )
$command Kraken\Runtime\Command\CommandInterface

Property Details

$commands protected_oe property

protected CommandInterface[],Kraken\Runtime\Command $commands
Résultat Kraken\Runtime\Command\CommandInterface[]