PHP Class Predis\Protocol\Text\ProtocolProcessor

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Protocol\ProtocolProcessorInterface
ファイルを表示 Open project: nrk/predis Class Usage Examples

Protected Properties

Property Type Description
$mbiterable
$serializer

Public Methods

Method Description
__construct ( )
read ( Predis\Connection\CompositeConnectionInterface $connection )
useIterableMultibulk ( boolean $value ) Enables or disables returning multibulk responses as specialized PHP iterators used to stream bulk elements of a multibulk response instead returning a plain array.
write ( Predis\Connection\CompositeConnectionInterface $connection, Predis\Command\CommandInterface $command )

Method Details

__construct() public method

public __construct ( )

read() public method

public read ( Predis\Connection\CompositeConnectionInterface $connection )
$connection Predis\Connection\CompositeConnectionInterface

useIterableMultibulk() public method

Streamable multibulk responses are not globally supported by the abstractions built-in into Predis, such as transactions or pipelines. Use them with care!
public useIterableMultibulk ( boolean $value )
$value boolean Enable or disable streamable multibulk responses.

write() public method

public write ( Predis\Connection\CompositeConnectionInterface $connection, Predis\Command\CommandInterface $command )
$connection Predis\Connection\CompositeConnectionInterface
$command Predis\Command\CommandInterface

Property Details

$mbiterable protected_oe property

protected $mbiterable

$serializer protected_oe property

protected $serializer