PHP Interface 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:
Author: Daniele Alessandri ([email protected])
ファイルを表示 Open project: nrk/predis

Public Methods

Method Description
__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.

Method Details

__get() public method

Returns the value of the specified parameter.
public __get ( string $parameter ) : mixed | null
$parameter string Name of the parameter.
return mixed | null

__isset() public method

Checks if the specified parameters is set.
public __isset ( string $parameter ) : boolean
$parameter string Name of the parameter.
return boolean

__toString() public method

Returns basic connection parameters as a valid URI string.
public __toString ( ) : string
return string

toArray() public method

Returns an array representation of the connection parameters.
public toArray ( ) : array
return array