[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 574 lines (19 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Container:: (21 methods):
__construct()
compile()
isFrozen()
getParameterBag()
getParameter()
hasParameter()
setParameter()
set()
has()
get()
initialized()
reset()
getServiceIds()
enterScope()
leaveScope()
addScope()
hasScope()
isScopeActive()
camelize()
underscore()
__clone()
__construct(ParameterBagInterface $parameterBag = null) X-Ref |
No description |
compile() X-Ref |
Compiles the container. This method does two things: * Parameter values are resolved; * The parameter bag is frozen. |
isFrozen() X-Ref |
Returns true if the container parameter bag are frozen. return: bool true if the container parameter bag are frozen, false otherwise |
getParameterBag() X-Ref |
Gets the service container parameter bag. return: ParameterBagInterface A ParameterBagInterface instance |
getParameter($name) X-Ref |
Gets a parameter. param: string $name The parameter name return: mixed The parameter value |
hasParameter($name) X-Ref |
Checks if a parameter exists. param: string $name The parameter name return: bool The presence of parameter in container |
setParameter($name, $value) X-Ref |
Sets a parameter. param: string $name The parameter name param: mixed $value The parameter value |
set($id, $service, $scope = self::SCOPE_CONTAINER) X-Ref |
Sets a service. Setting a service to null resets the service: has() returns false and get() behaves in the same way as if the service was never created. Note: The $scope parameter is deprecated since version 2.8 and will be removed in 3.0. param: string $id The service identifier param: object $service The service instance param: string $scope The scope of the service |
has($id) X-Ref |
Returns true if the given service is defined. param: string $id The service identifier return: bool true if the service is defined, false otherwise |
get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE) X-Ref |
Gets a service. If a service is defined both through a set() method and with a get{$id}Service() method, the former has always precedence. param: string $id The service identifier param: int $invalidBehavior The behavior when the service does not exist return: object The associated service |
initialized($id) X-Ref |
Returns true if the given service has actually been initialized. param: string $id The service identifier return: bool true if service has already been initialized, false otherwise |
reset() X-Ref |
{@inheritdoc} |
getServiceIds() X-Ref |
Gets all service ids. return: array An array of all defined service ids |
enterScope($name) X-Ref |
This is called when you enter a scope. param: string $name |
leaveScope($name) X-Ref |
This is called to leave the current scope, and move back to the parent scope. param: string $name The name of the scope to leave |
addScope(ScopeInterface $scope) X-Ref |
Adds a scope to the container. |
hasScope($name) X-Ref |
Returns whether this container has a certain scope. param: string $name The name of the scope return: bool |
isScopeActive($name) X-Ref |
Returns whether this scope is currently active. This does not actually check if the passed scope actually exists. param: string $name return: bool |
camelize($id) X-Ref |
Camelizes a string. param: string $id A string to camelize return: string The camelized string |
underscore($id) X-Ref |
A string to underscore. param: string $id The string to underscore return: string The underscored string |
__clone() X-Ref |
No description |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |