Documentation

ProtocolProcessor
in package
implements ProtocolProcessorInterface

Protocol processor for the standard Redis wire protocol.

Tags
link
http://redis.io/topics/protocol
author

Daniele Alessandri suppakilla@gmail.com

Interfaces, Classes and Traits

ProtocolProcessorInterface
Defines a pluggable protocol processor capable of serializing commands and deserializing responses into PHP objects directly from a connection.

Table of Contents

$mbiterable  : mixed
$serializer  : mixed
__construct()  : mixed
read()  : mixed
Reads a response from a connection to Redis.
useIterableMultibulk()  : mixed
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()  : mixed
Writes a request over a connection to Redis.

Properties

Methods

useIterableMultibulk()

Enables or disables returning multibulk responses as specialized PHP iterators used to stream bulk elements of a multibulk response instead returning a plain array.

public useIterableMultibulk(bool $value) : mixed

Streamable multibulk responses are not globally supported by the abstractions built-in into Predis, such as transactions or pipelines. Use them with care!

Parameters
$value : bool

Enable or disable streamable multibulk responses.

Return values
mixed

Search results