PHP 인터페이스 Predis\Configuration\OptionsInterface

저자: Daniele Alessandri ([email protected])
파일 보기 프로젝트 열기: nrk/predis 0 사용 예제들

공개 메소드들

메소드 설명
__get ( string $option ) : mixed | null Returns the value of the given option.
__isset ( string $option ) : boolean Checks if the given option has been set and does not evaluate to NULL.
defined ( string $option ) : boolean Checks if the given option has been set by the user upon initialization.
getDefault ( string $option ) : mixed | null Returns the default value for the given option.

메소드 상세

__get() 공개 메소드

Returns the value of the given option.
public __get ( string $option ) : mixed | null
$option string Name of the option.
리턴 mixed | null

__isset() 공개 메소드

Checks if the given option has been set and does not evaluate to NULL.
public __isset ( string $option ) : boolean
$option string Name of the option.
리턴 boolean

defined() 공개 메소드

Checks if the given option has been set by the user upon initialization.
public defined ( string $option ) : boolean
$option string Name of the option.
리턴 boolean

getDefault() 공개 메소드

Returns the default value for the given option.
public getDefault ( string $option ) : mixed | null
$option string Name of the option.
리턴 mixed | null