Container::underscore()

static string underscore(string $id) A string to underscore. Parameters string $id The string to underscore Return Value string The underscored string

Container::setParameter()

setParameter(string $name, mixed $value) Sets a parameter. Parameters string $name The parameter name mixed $value The parameter value

Container::reset()

reset() Resets shared services from the container. The container is not intended to be used again after being reset in a normal workflow. This method is meant as a way to release references for ref-counting. A subsequent call to ContainerInterface::get will recreate a new instance of the shared service.

Container::isFrozen()

bool isFrozen() Returns true if the container parameter bag are frozen. Return Value bool true if the container parameter bag are frozen, false otherwise

Container::initialized()

bool initialized(string $id) Returns true if the given service has actually been initialized. Parameters string $id Return Value bool true if the service has been initialized, false otherwise

Container::hasParameter()

bool hasParameter(string $name) Checks if a parameter exists. Parameters string $name The parameter name Return Value bool The presence of parameter in container

Container::has()

bool has(string $id) Returns true if the given service is defined. Parameters string $id The service identifier Return Value bool true if the service is defined, false otherwise

Container::getServiceIds()

array getServiceIds() Gets all service ids. Return Value array An array of all defined service ids

Container::getParameterBag()

ParameterBagInterface getParameterBag() Gets the service container parameter bag. Return Value ParameterBagInterface A ParameterBagInterface instance

Container::getParameter()

mixed getParameter(string $name) Gets a parameter. Parameters string $name The parameter name Return Value mixed The parameter value Exceptions InvalidArgumentException if the parameter is not defined