You are here

public function DrupalKernelInterface::getCachedContainerDefinition in Drupal 9

Same name and namespace in other branches
  1. 8 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();