ReferenceConfigurator

class ReferenceConfigurator extends AbstractConfigurator

Constants

FACTORY

Methods

__call($method, $args) from AbstractConfigurator
static mixed processValue(mixed $value, bool $allowServices = false)

Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.

from AbstractConfigurator
__construct(string $id)
$this ignoreOnInvalid()
$this nullOnInvalid()
$this ignoreOnUninitialized()
__toString()

Details

__call($method, $args)

Parameters

$method
$args

static mixed processValue(mixed $value, bool $allowServices = false)

Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.

Parameters

mixed $value
bool $allowServices whether Definition and Reference are allowed; by default, only scalars and arrays are

Return Value

mixed the value, optionally cast to a Definition/Reference

__construct(string $id)

Parameters

string $id

final $this ignoreOnInvalid()

Return Value

$this

final $this nullOnInvalid()

Return Value

$this

final $this ignoreOnUninitialized()

Return Value

$this

__toString()