interface InvokableContainerValueResolverInterface implements ContainerAwareInterface

Class InvokableContainerValueResolverInterface.

Methods

mixed
__invoke( string $containerLookup)

Invoking this class using function syntax, while providing either a parameter or service name lookup, will return the requested value.

Details

at line line 34
mixed __invoke( string $containerLookup)

Invoking this class using function syntax, while providing either a parameter or service name lookup, will return the requested value.

Begin all parameter lookups with '%' (and optionally close with the same) to search for parameters. For services, they are the default and require no syntax, BUT using the symfony syntax of begining service names with a '@' is supported and suggested for clarity.

Parameters

string $containerLookup

Return Value

mixed