You are here

public function PhpArrayDumper::getArray in Service Container 7.2

Same name in this branch
  1. 7.2 lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper::getArray()
  2. 7.2 lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper::getArray()
Same name and namespace in other branches
  1. 7 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

lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php, line 29
Contains \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper.

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