PHP Class Predis\Protocol\Text\ProtocolProcessor

Author: Daniele Alessandri ([email protected])
Inheritance: implements Predis\Protocol\ProtocolProcessorInterface
Afficher le fichier Open project: nrk/predis Class Usage Examples

Protected Properties

Свойство Type Description
$mbiterable
$serializer

Méthodes publiques

Méthode 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 méthode

public __construct ( )

read() public méthode

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

useIterableMultibulk() public méthode

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 méthode

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