Config implements ArrayAccess
Config renderer class. This class implements the \ArrayAccess interface to allow access to configuration values using array syntax. It retrieves configuration values from the Builder's configuration object, allowing for easy access to configuration settings in a language-specific context.
Table of Contents
Interfaces
- ArrayAccess
Properties
- $builder : Builder
- Builder object.
- $config : Config
- Configuration object.
- $language : string
- Current language code.
Methods
- __construct() : mixed
- offsetExists() : bool
- Implement ArrayAccess.
- offsetGet() : mixed|null
- Implements \ArrayAccess.
- offsetSet() : void
- Implements \ArrayAccess.
- offsetUnset() : void
- Implements \ArrayAccess.
Properties
$builder
Builder object.
protected
Builder
$builder
$config
Configuration object.
protected
Config
$config
$language
Current language code.
protected
string
$language
Methods
__construct()
public
__construct(Builder $builder, string $language) : mixed
Parameters
- $builder : Builder
- $language : string
offsetExists()
Implement ArrayAccess.
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Attributes
- #[ReturnTypeWillChange]
Return values
booloffsetGet()
Implements \ArrayAccess.
public
offsetGet(mixed $offset) : mixed|null
Parameters
- $offset : mixed
Attributes
- #[ReturnTypeWillChange]
Return values
mixed|nulloffsetSet()
Implements \ArrayAccess.
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Tags
Attributes
- #[ReturnTypeWillChange]
offsetUnset()
Implements \ArrayAccess.
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
Tags
Attributes
- #[ReturnTypeWillChange]