Method |
Description |
|
addScope ( Symfony\Component\DependencyInjection\ScopeInterface $scope ) |
Adds a scope to the container |
|
enterScope ( string $name ) |
Enters the given scope |
|
get ( string $id, integer $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE ) : object |
Gets a service. |
|
getParameter ( string $name ) : mixed |
Gets a parameter. |
|
has ( string $id ) : boolean |
Returns true if the given service is defined. |
|
hasParameter ( string $name ) : boolean |
Checks if a parameter exists. |
|
hasScope ( string $name ) : boolean |
Whether this container has the given scope |
|
initialized ( $id ) |
|
|
isFrozen ( ) |
|
|
isScopeActive ( string $name ) : boolean |
Determines whether the given scope is currently active. |
|
leaveScope ( string $name ) |
Leaves the current scope, and re-enters the parent scope |
|
set ( string $id, object $service, boolean $shared = false ) |
Sets a service. |
|
setParameter ( string $name, mixed $value ) |
Sets a parameter. |
|