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 485
Class
- DrupalKernel
- The DrupalKernel class is the core of Drupal itself.
Namespace
Drupal\Core
Code
public function getContainer() { return $this->container; }
Please login to continue.