public function DrupalKernelInterface::getContainer in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getContainer()
- 10 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getContainer()
Gets the current container.
Return value
\Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance.
1 method overrides DrupalKernelInterface::getContainer()
- DrupalKernel::getContainer in core/
lib/ Drupal/ Core/ DrupalKernel.php - Gets the current container.
File
- core/
lib/ Drupal/ Core/ DrupalKernelInterface.php, line 64
Class
- DrupalKernelInterface
- The interface for DrupalKernel, the core of Drupal.
Namespace
Drupal\CoreCode
public function getContainer();