FileAccess Orion

ContainerConfigurator extends AbstractConfigurator
in package

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

FACTORY  = 'container'
$anonymousCount  : mixed
$container  : mixed
$file  : mixed
$instanceof  : mixed
$loader  : mixed
$path  : mixed
__call()  : mixed
__construct()  : mixed
extension()  : mixed
import()  : mixed
parameters()  : ParametersConfigurator
processValue()  : mixed
Checks that a value is valid, optionally replacing Definition and Reference configurators by their configure value.
services()  : ServicesConfigurator

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

extension()

public final extension(string $namespace, array<string|int, mixed> $config) : mixed
Parameters
$namespace : string
$config : array<string|int, mixed>
Return values
mixed

import()

public final import(string $resource[, string $type = null ][, mixed $ignoreErrors = false ]) : mixed
Parameters
$resource : string
$type : string = null
$ignoreErrors : mixed = false
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