class Helpers

internal  
 

The DI helpers.

Methods

static mixed
expand($var, array $params, $recursive = FALSE)

Expands %placeholders%.

static array
autowireArguments(ReflectionFunctionAbstract $method, array $arguments, $container)

Generates list of arguments using autowiring.

Details

at line 28
static mixed expand($var, array $params, $recursive = FALSE)

Expands %placeholders%.

Parameters

$var
array $params
$recursive

Return Value

mixed

Exceptions

InvalidArgumentException

at line 82
static array autowireArguments(ReflectionFunctionAbstract $method, array $arguments, $container)

Generates list of arguments using autowiring.

Parameters

ReflectionFunctionAbstract $method
array $arguments
$container

Return Value

array