FileAccess Orion

AbstractServiceConfigurator extends AbstractConfigurator
in package

Table of Contents

FACTORY  = 'unknown'
$id  : mixed
$parent  : mixed
$defaultTags  : mixed
__call()  : mixed
__construct()  : mixed
__destruct()  : mixed
__invoke()  : ServiceConfigurator
Registers a service.
alias()  : AliasConfigurator
Creates an alias.
get()  : ServiceConfigurator
Gets an already defined service definition.
load()  : PrototypeConfigurator
Registers a PSR-4 namespace using a glob pattern.
processValue()  : mixed
Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.
set()  : ServiceConfigurator
Registers a service.

Constants

Properties

Methods

__call()

public __call(string $method, array<string|int, mixed> $args) : mixed
Parameters
$method : string
$args : array<string|int, mixed>
Return values
mixed

processValue()

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

public static processValue(mixed $value[, bool $allowServices = false ]) : mixed
Parameters
$value : mixed
$allowServices : bool = false

whether Definition and Reference are allowed; by default, only scalars and arrays are

Return values
mixed

the value, optionally cast to a Definition/Reference

Search results