PHP Интерфейс Predis\Configuration\OptionsInterface

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

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

Метод Описание
__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