PHP Класс Bolt\Configuration\ConfigurationValueProxy

Автор: Ross Riley ([email protected])
Наследование: implements ArrayAcces\ArrayAccess, implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$checked boolean
$config Bolt\Config
$data mixed | null
$default mixed | null
$path string

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

Метод Описание
__construct ( Config $config, string $path, mixed $default = null ) Constructor.
getData ( ) : array Get the data of the loaded config
getSubscribedEvents ( )
initialize ( ) Initialize the configuration value.
offsetExists ( $offset )
offsetGet ( $offset )
offsetSet ( $offset, $value )
offsetUnset ( $offset )
onKernelRequest ( ) Kernel request event callback.

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

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

Constructor.
public __construct ( Config $config, string $path, mixed $default = null )
$config Bolt\Config
$path string
$default mixed

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

Get the data of the loaded config
public getData ( ) : array
Результат array

getSubscribedEvents() публичный статический Метод

public static getSubscribedEvents ( )

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

Initialize the configuration value.
public initialize ( )

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

public offsetExists ( $offset )

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

public offsetGet ( $offset )

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

public offsetSet ( $offset, $value )

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

public offsetUnset ( $offset )

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

Kernel request event callback.
public onKernelRequest ( )

Описание свойств

$checked защищенное свойство

protected bool $checked
Результат boolean

$config защищенное свойство

protected Config,Bolt $config
Результат Bolt\Config

$data защищенное свойство

protected mixed|null $data
Результат mixed | null

$default защищенное свойство

protected mixed|null $default
Результат mixed | null

$path защищенное свойство

protected string $path
Результат string