PHP Class Bolt\Configuration\ConfigurationValueProxy

Author: Ross Riley ([email protected])
Inheritance: implements ArrayAcces\ArrayAccess, implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Show file Open project: bolt/bolt

Protected Properties

Property Type Description
$checked boolean
$config Bolt\Config
$data mixed | null
$default mixed | null
$path string

Public Methods

Method Description
__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.

Method Details

__construct() public method

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

getData() public method

Get the data of the loaded config
public getData ( ) : array
return array

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

initialize() public method

Initialize the configuration value.
public initialize ( )

offsetExists() public method

public offsetExists ( $offset )

offsetGet() public method

public offsetGet ( $offset )

offsetSet() public method

public offsetSet ( $offset, $value )

offsetUnset() public method

public offsetUnset ( $offset )

onKernelRequest() public method

Kernel request event callback.
public onKernelRequest ( )

Property Details

$checked protected property

protected bool $checked
return boolean

$config protected property

protected Config,Bolt $config
return Bolt\Config

$data protected property

protected mixed|null $data
return mixed | null

$default protected property

protected mixed|null $default
return mixed | null

$path protected property

protected string $path
return string