Метод | Описание | |
---|---|---|
__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 ) |
public __construct ( array $processors = [] ) | ||
$processors | array | List of instances of ProcessorInterface. |
public add ( Predis\Command\Processor\ProcessorInterface $processor ) | ||
$processor | Predis\Command\Processor\ProcessorInterface |
public getIterator ( ) : ArrayIterator | ||
Результат | ArrayIterator |
public process ( Predis\Command\CommandInterface $command ) | ||
$command | Predis\Command\CommandInterface |
public remove ( Predis\Command\Processor\ProcessorInterface $processor ) | ||
$processor | Predis\Command\Processor\ProcessorInterface |