PHP Класс Predis\Command\ServerInfo

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

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

Метод Описание
getId ( )
parseResponse ( $data )

Защищенные методы

Метод Описание
parseAllocationStats ( string $str ) : array Parses the response and extracts the allocation statistics.
parseDatabaseStats ( string $str ) : array Extracts the statistics of each logical DB from the string buffer.
parseRow ( string $row ) : array Parses a single row of the response and returns the key-value pair.

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

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

public getId ( )

parseAllocationStats() защищенный Метод

Parses the response and extracts the allocation statistics.
protected parseAllocationStats ( string $str ) : array
$str string Response buffer.
Результат array

parseDatabaseStats() защищенный Метод

Extracts the statistics of each logical DB from the string buffer.
protected parseDatabaseStats ( string $str ) : array
$str string Response buffer.
Результат array

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

public parseResponse ( $data )

parseRow() защищенный Метод

Parses a single row of the response and returns the key-value pair.
protected parseRow ( string $row ) : array
$row string Single row of the response.
Результат array