PHP Интерфейс Predis\Connection\ParametersInterface

The actual list of connection parameters depends on the features supported by each connection backend class (please refer to their specific documentation), but the most common parameters used through the library are:
Автор: Daniele Alessandri ([email protected])
Показать файл Открыть проект

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

Метод Описание
__get ( string $parameter ) : mixed | null Returns the value of the specified parameter.
__isset ( string $parameter ) : boolean Checks if the specified parameters is set.
__toString ( ) : string Returns basic connection parameters as a valid URI string.
toArray ( ) : array Returns an array representation of the connection parameters.

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

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

Returns the value of the specified parameter.
public __get ( string $parameter ) : mixed | null
$parameter string Name of the parameter.
Результат mixed | null

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

Checks if the specified parameters is set.
public __isset ( string $parameter ) : boolean
$parameter string Name of the parameter.
Результат boolean

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

Returns basic connection parameters as a valid URI string.
public __toString ( ) : string
Результат string

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

Returns an array representation of the connection parameters.
public toArray ( ) : array
Результат array