PHP Class ZF\Console\Dispatcher

Inheritance: implements Zend\ServiceManager\ServiceLocatorAwareInterface, use trait Zend\ServiceManager\ServiceLocatorAwareTrait
Afficher le fichier Open project: zfcampus/zf-console Class Usage Examples

Protected Properties

Свойство Type Description
$commandMap
$container null | Interop\Container\ContainerInterface Container from which to pull command services when dispatching.

Méthodes publiques

Méthode Description
__construct ( Interop\Container\ContainerInterface $container = null )
dispatch ( Route $route, Zend\Console\Adapter\AdapterInterface $console ) {@inheritDoc}
has ( $command ) {@inheritDoc}
map ( $command, $callable ) {@inheritDoc}

Method Details

__construct() public méthode

public __construct ( Interop\Container\ContainerInterface $container = null )
$container Interop\Container\ContainerInterface Container from which to pull command services when dispatching.

dispatch() public méthode

{@inheritDoc}
public dispatch ( Route $route, Zend\Console\Adapter\AdapterInterface $console )
$route Route
$console Zend\Console\Adapter\AdapterInterface

has() public méthode

{@inheritDoc}
public has ( $command )

map() public méthode

{@inheritDoc}
public map ( $command, $callable )

Property Details

$commandMap protected_oe property

protected $commandMap

$container protected_oe property

Container from which to pull command services when dispatching.
protected null|ContainerInterface,Interop\Container $container
Résultat null | Interop\Container\ContainerInterface