Helpers
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.
static array
filterArguments(array $args)
Removes ... and process constants recursively.
static mixed
prefixServiceName($config, $namespace)
Replaces @extension with real extension name in service definition.
static string|null
static string|null
static
normalizeClass($type)
No description
Details
at line 31
static mixed
expand($var, array $params, $recursive = false)
Expands %placeholders%.
at line 99
static array
autowireArguments(ReflectionFunctionAbstract $method, array $arguments, $container)
Generates list of arguments using autowiring.
at line 168
static array
filterArguments(array $args)
Removes ... and process constants recursively.
at line 192
static mixed
prefixServiceName($config, $namespace)
Replaces @extension with real extension name in service definition.
at line 216
static string|null
parseAnnotation(Reflector $ref, $name)
Returns an annotation value.
at line 231
static string|null
getReturnType(ReflectionFunctionAbstract $func)
No description
at line 249
static
normalizeClass($type)
No description
Traits
StaticClass