Container::enterScope

public Container::enterScope($name) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 594 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function enterScope($name) { if ('request' !== $name) { @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED); } throw new \BadMethodCallException(sprintf("'%s' is not s

Container::createService

protected Container::createService(array $definition, $id) Creates a service from a service definition. Parameters array $definition: The service definition to create a service from. string $id: The service identifier, necessary so it can be shared if its public. Return value object The service described by the service definition. Throws \Symfony\Component\DependencyInjection\Exception\RuntimeException Thrown when the service is a synthetic service. \Symfony\Component\DependencyInjection\Exc

Container::addScope

public Container::addScope(ScopeInterface $scope) File core/lib/Drupal/Component/DependencyInjection/Container.php, line 616 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code public function addScope(ScopeInterface $scope) { $name = $scope->getName(); if ('request' !== $name) { @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);

Container::$services

The instantiated services. Type: array File core/lib/Drupal/Component/DependencyInjection/Container.php, line 81 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $services = array();

Container::$serviceDefinitions

The service definitions of the container. Type: array File core/lib/Drupal/Component/DependencyInjection/Container.php, line 74 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $serviceDefinitions = array();

Container::$privateServices

The instantiated private services. Type: array File core/lib/Drupal/Component/DependencyInjection/Container.php, line 88 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $privateServices = array();

Container::$parameters

The parameters of the container. Type: array File core/lib/Drupal/Component/DependencyInjection/Container.php, line 60 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $parameters = array();

Container::$loading

The currently loading services. Type: array File core/lib/Drupal/Component/DependencyInjection/Container.php, line 95 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $loading = array();

Container::$frozen

Whether the container parameters can still be changed. For testing purposes the container needs to be changed. Type: bool File core/lib/Drupal/Component/DependencyInjection/Container.php, line 104 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $frozen = TRUE;

Container::$aliases

The aliases of the container. Type: array File core/lib/Drupal/Component/DependencyInjection/Container.php, line 67 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $aliases = array();