PHP Класс Predis\Command\Processor\ProcessorChain

Автор: Daniele Alessandri ([email protected])
Наследование: implements Predis\Command\Processor\CommandProcessorChainInterface, implements ArrayAccess
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( array $processors = [] )
add ( Predis\Command\Processor\ProcessorInterface $processor )
count ( ) : integer Returns the number of command processors in the chain.
getIterator ( ) : ArrayIterator Returns an iterator over the list of command processor in the chain.
getProcessors ( )
offsetExists ( $index )
offsetGet ( $index )
offsetSet ( $index, $processor )
offsetUnset ( $index )
process ( Predis\Command\CommandInterface $command )
remove ( Predis\Command\Processor\ProcessorInterface $processor )

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

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

public __construct ( array $processors = [] )
$processors array List of instances of ProcessorInterface.

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

public add ( Predis\Command\Processor\ProcessorInterface $processor )
$processor Predis\Command\Processor\ProcessorInterface

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

Returns the number of command processors in the chain.
public count ( ) : integer
Результат integer

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

Returns an iterator over the list of command processor in the chain.
public getIterator ( ) : ArrayIterator
Результат ArrayIterator

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

public getProcessors ( )

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

public offsetExists ( $index )

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

public offsetGet ( $index )

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

public offsetSet ( $index, $processor )

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

public offsetUnset ( $index )

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

public process ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface

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

public remove ( Predis\Command\Processor\ProcessorInterface $processor )
$processor Predis\Command\Processor\ProcessorInterface