Stud.IP
6.0
|
Functions | |
app ($entryId=null, $parameters=[]) | |
app | ( | $entryId = null , |
|
$parameters = [] |
|||
) |
This function returns the Dependency Injection container used.
You may pass an entry name, a class or interface name to resolve it from the container:
T
T|class-string<T>|string|null | $entryId entry name or a class name | |
array | $parameters | Optional parameters to use to build the entry. Use this to force specific parameters to specific values. Parameters not defined in this array will be resolved using the container. |