W3cubDocs

/Drupal 8

protected property DrupalKernel::$phpArrayDumperClass

Holds the class used for dumping the container to a PHP array.

In combination with swapping the container class this is useful to e.g. dump to the human-readable PHP array format to debug the container definition in an easier way.

Type: string

File

core/lib/Drupal/Core/DrupalKernel.php, line 57

Class

DrupalKernel
The DrupalKernel class is the core of Drupal itself.

Namespace

Drupal\Core

Code

protected $phpArrayDumperClass = '\Drupal\Component\DependencyInjection\Dumper\OptimizedPhpArrayDumper';

© 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/property/DrupalKernel::phpArrayDumperClass/8.1.x