Cecil

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

$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
bool

offsetGet()

Implements \ArrayAccess.

public offsetGet(mixed $offset) : mixed|null
Parameters
$offset : mixed
Attributes
#[ReturnTypeWillChange]
Return values
mixed|null

offsetSet()

Implements \ArrayAccess.

public offsetSet(mixed $offset, mixed $value) : void
Parameters
$offset : mixed
$value : mixed
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Attributes
#[ReturnTypeWillChange]

offsetUnset()

Implements \ArrayAccess.

public offsetUnset(mixed $offset) : void
Parameters
$offset : mixed
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

Attributes
#[ReturnTypeWillChange]
 
On this page

Search results