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])
파일 보기 프로젝트 열기: nrk/predis

공개 메소드들

메소드 설명
__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