You are here

public function PhpArrayDumper::getArray in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper::getArray()

Gets the service container definition as a PHP array.

Return value

array A PHP array representation of the service container.

Overrides OptimizedPhpArrayDumper::getArray

File

core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php, line 24

Class

PhpArrayDumper
PhpArrayDumper dumps a service container as a PHP array.

Namespace

Drupal\Component\DependencyInjection\Dumper

Code

public function getArray() {
  $this->serialize = FALSE;
  return parent::getArray();
}