PHP Class Predis\Command\Processor\ProcessorChain

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Command\Processor\CommandProcessorChainInterface, implements ArrayAccess
Afficher le fichier Open project: nrk/predis Class Usage Examples

Méthodes publiques

Méthode Description
__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 )

Method Details

__construct() public méthode

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

add() public méthode

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

count() public méthode

Returns the number of command processors in the chain.
public count ( ) : integer
Résultat integer

getIterator() public méthode

Returns an iterator over the list of command processor in the chain.
public getIterator ( ) : ArrayIterator
Résultat ArrayIterator

getProcessors() public méthode

public getProcessors ( )

offsetExists() public méthode

public offsetExists ( $index )

offsetGet() public méthode

public offsetGet ( $index )

offsetSet() public méthode

public offsetSet ( $index, $processor )

offsetUnset() public méthode

public offsetUnset ( $index )

process() public méthode

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

remove() public méthode

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