public function PhpArrayDumper::dump in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper::dump()
Dumps the service container.
@api
Parameters
array $options An array of options:
Return value
string The representation of the service container
Overrides DumperInterface::dump
File
- lib/
Drupal/ Core/ DependencyInjection/ Dumper/ PhpArrayDumper.php, line 25 - Contains \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper
Class
- PhpArrayDumper
- PhpArrayDumper dumps a service container as a serialized PHP array.
Namespace
Drupal\Core\DependencyInjection\DumperCode
public function dump(array $options = array()) {
return serialize($this
->getArray());
}