function DrupalKernelInterface::getCachedContainerDefinition

Same name in other branches
  1. 9 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getCachedContainerDefinition()
  2. 10 core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getCachedContainerDefinition()
  3. 11.x core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getCachedContainerDefinition()

Returns the cached container definition - if any.

This also allows inspecting a built container for debugging purposes.

Return value

array|null The cached container definition or NULL if not found in cache.

1 method overrides DrupalKernelInterface::getCachedContainerDefinition()
DrupalKernel::getCachedContainerDefinition in core/lib/Drupal/Core/DrupalKernel.php
Returns the cached container definition - if any.

File

core/lib/Drupal/Core/DrupalKernelInterface.php, line 74

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function getCachedContainerDefinition();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.