PHP Класс ZF\Console\Dispatcher

Наследование: implements Zend\ServiceManager\ServiceLocatorAwareInterface, use trait Zend\ServiceManager\ServiceLocatorAwareTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$commandMap
$container null | Interop\Container\ContainerInterface Container from which to pull command services when dispatching.

Открытые методы

Метод Описание
__construct ( Interop\Container\ContainerInterface $container = null )
dispatch ( Route $route, Zend\Console\Adapter\AdapterInterface $console ) {@inheritDoc}
has ( $command ) {@inheritDoc}
map ( $command, $callable ) {@inheritDoc}

Описание методов

__construct() публичный Метод

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

dispatch() публичный Метод

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

has() публичный Метод

{@inheritDoc}
public has ( $command )

map() публичный Метод

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

Описание свойств

$commandMap защищенное свойство

protected $commandMap

$container защищенное свойство

Container from which to pull command services when dispatching.
protected null|ContainerInterface,Interop\Container $container
Результат null | Interop\Container\ContainerInterface