PHP Интерфейс Kraken\Config\ConfigReaderInterface

Показать файл Открыть проект

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

Метод Описание
exists ( string $key ) : boolean Check if configuration under $key exists.
get ( string $key = '', mixed $default = null ) : mixed Get configuration saved under $key or $default if it does not exist.
getAll ( ) : array Get all configuration options.

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

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

Check if configuration under $key exists.
public exists ( string $key ) : boolean
$key string
Результат boolean

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

Get configuration saved under $key or $default if it does not exist.
public get ( string $key = '', mixed $default = null ) : mixed
$key string
$default mixed
Результат mixed

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

Get all configuration options.
public getAll ( ) : array
Результат array