PHP 클래스 Predis\Command\Processor\ProcessorChain

저자: Daniele Alessandri ([email protected])
상속: implements Predis\Command\Processor\CommandProcessorChainInterface, implements ArrayAccess
파일 보기 프로젝트 열기: nrk/predis 1 사용 예제들

공개 메소드들

메소드 설명
__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.

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