Documentation

ProcessorChain
in package
implements ArrayAccess, ProcessorInterface

Default implementation of a command processors chain.

Tags
author

Daniele Alessandri suppakilla@gmail.com

Interfaces, Classes and Traits

ArrayAccess
ProcessorInterface
A command processor processes Redis commands before they are sent to Redis.

Table of Contents

$processors  : mixed
__construct()  : mixed
add()  : mixed
{@inheritdoc}
count()  : int
Returns the number of command processors in the chain.
getIterator()  : Traversable<int, ProcessorInterface>
Returns an iterator over the list of command processor in the chain.
getProcessors()  : mixed
{@inheritdoc}
offsetExists()  : bool
offsetGet()  : mixed
{@inheritdoc}
offsetSet()  : mixed
{@inheritdoc}
offsetUnset()  : mixed
{@inheritdoc}
process()  : mixed
Processes the given Redis command.
remove()  : mixed
{@inheritdoc}

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $processors = array() ]) : mixed
Parameters
$processors : array<string|int, mixed> = array()

List of instances of ProcessorInterface.

Return values
mixed

count()

Returns the number of command processors in the chain.

public count() : int
Return values
int

getProcessors()

{@inheritdoc}

public getProcessors() : mixed
Return values
mixed

offsetExists()

public offsetExists(mixed $index) : bool
Parameters
$index : mixed
Return values
bool

offsetGet()

{@inheritdoc}

public offsetGet(mixed $index) : mixed
Parameters
$index : mixed
Return values
mixed

offsetSet()

{@inheritdoc}

public offsetSet(mixed $index, mixed $processor) : mixed
Parameters
$index : mixed
$processor : mixed
Return values
mixed

offsetUnset()

{@inheritdoc}

public offsetUnset(mixed $index) : mixed
Parameters
$index : mixed
Return values
mixed

Search results