PHP Класс Predis\Response\Status

Автор: Daniele Alessandri ([email protected])
Наследование: implements ResponseInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $payload )
__toString ( ) : string Converts the response object to its string representation.
get ( string $payload ) : string Returns an instance of a status response object.
getPayload ( ) : string Returns the payload of status response.

Описание методов

__construct() публичный Метод

public __construct ( string $payload )
$payload string Payload of the status response as returned by Redis.

__toString() публичный Метод

Converts the response object to its string representation.
public __toString ( ) : string
Результат string

get() публичный статический Метод

Common status responses such as OK or QUEUED are cached in order to lower the global memory usage especially when using pipelines.
public static get ( string $payload ) : string
$payload string Status response payload.
Результат string

getPayload() публичный Метод

Returns the payload of status response.
public getPayload ( ) : string
Результат string