public function PhpArrayDumper::getArray

public 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();
}

© 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!Component!DependencyInjection!Dumper!PhpArrayDumper.php/function/PhpArrayDumper::getArray/8.1.x