Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/DrupalKernelInterface.php \Drupal\Core\DrupalKernelInterface::getCachedContainerDefinition()
  2. 9 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 75

Class

DrupalKernelInterface
The interface for DrupalKernel, the core of Drupal.

Namespace

Drupal\Core

Code

public function getCachedContainerDefinition();