PHP Class ZF\Console\Dispatcher

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

Protected Properties

Property Type Description
$commandMap
$container null | Interop\Container\ContainerInterface Container from which to pull command services when dispatching.

Public Methods

Method 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 method

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

dispatch() public method

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

has() public method

{@inheritDoc}
public has ( $command )

map() public method

{@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
return null | Interop\Container\ContainerInterface