DrupalKernel::getContainer
public function DrupalKernel::getContainer
public DrupalKernel::getContainer()
Gets the current container.
Return value
\Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance.
Overrides DrupalKernelInterface::getContainer
File
- core/lib/Drupal/Core/DrupalKernel.php, line 461
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\CoreCode
public function getContainer() { return $this->container; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!DrupalKernel.php/function/DrupalKernel::getContainer/8.1.x