Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
Container.php
»
Container
»
Container::set
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
6 calls to Container::set()
Container::leaveScope
in drupal/
core/
vendor/
symfony/
dependency-injection/
Symfony/
Component/
DependencyInjection/
Container.php
This is called to leave the current scope, and move back to the parent scope.
Container::__construct
in drupal/
core/
vendor/
symfony/
dependency-injection/
Symfony/
Component/
DependencyInjection/
Container.php
Constructor.
ContainerBuilder::set
in drupal/
core/
lib/
Drupal/
Core/
DependencyInjection/
ContainerBuilder.php
Overrides
Symfony\Component\DependencyInjection\ContainerBuilder::set
().
ContainerBuilder::set
in drupal/
core/
vendor/
symfony/
dependency-injection/
Symfony/
Component/
DependencyInjection/
ContainerBuilder.php
Sets a service.
ProjectServiceContainer::__construct
in drupal/
core/
vendor/
symfony/
dependency-injection/
Symfony/
Component/
DependencyInjection/
Tests/
Fixtures/
php/
services10.php
Constructor.
ProjectServiceContainer::__construct
in drupal/
core/
vendor/
symfony/
dependency-injection/
Symfony/
Component/
DependencyInjection/
Tests/
Fixtures/
php/
services9_compiled.php
Constructor.