OptimizedPhpArrayDumper::getParameterCall

protected OptimizedPhpArrayDumper::getParameterCall($name) Gets a parameter reference in a suitable PHP array format. Parameters string $name: The name of the parameter to get a reference for. Return value string|\stdClass A suitable representation of the parameter reference. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 500 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace

OptimizedPhpArrayDumper::getArray

public OptimizedPhpArrayDumper::getArray() Gets the service container definition as a PHP array. Return value array A PHP array representation of the service container. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 61 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code public function getArray() { $definition = array(); $th

OptimizedPhpArrayDumper::getAliases

protected OptimizedPhpArrayDumper::getAliases() Gets the aliases as a PHP array. Return value array The aliases. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 78 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code protected function getAliases() { $alias_definitions = array(); $aliases = $this->container->getAliases(

OptimizedPhpArrayDumper::escape

protected OptimizedPhpArrayDumper::escape(array $parameters) Escapes parameters. Parameters array $parameters: The parameters to escape for '%' characters. Return value array The escaped parameters. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 169 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code protected function escape(a

OptimizedPhpArrayDumper::dumpValue

protected OptimizedPhpArrayDumper::dumpValue($value) Dumps the value to PHP array format. Parameters mixed $value: The value to dump. Return value mixed The dumped value in a suitable format. Throws RuntimeException When trying to dump object or resource. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 399 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\De

OptimizedPhpArrayDumper::dumpMethodCalls

protected OptimizedPhpArrayDumper::dumpMethodCalls(array $calls) Dumps method calls to a PHP array. Parameters array $calls: An array of method calls. Return value array The PHP array representation of the method calls. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 280 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code protec

OptimizedPhpArrayDumper::dumpCollection

protected OptimizedPhpArrayDumper::dumpCollection($collection, &$resolve = FALSE) Dumps a collection to a PHP array. Parameters mixed $collection: A collection to process. bool &$resolve: Used for passing the information to the caller whether the given collection needed to be resolved or not. This is used for optimizing deep arrays that don't need to be traversed. Return value \stdClass|array The collection in a suitable format. File core/lib/Drupal/Component/DependencyInjection/Dumpe

OptimizedPhpArrayDumper::dumpCallable

protected OptimizedPhpArrayDumper::dumpCallable($callable) Dumps callable to a PHP array. Parameters array|callable $callable: The callable to process. Return value callable The processed callable. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 350 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code protected function dumpCalla

OptimizedPhpArrayDumper::dump

public OptimizedPhpArrayDumper::dump(array $options = array()) File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 51 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code public function dump(array $options = array()) { return serialize($this->getArray()); }

OptimizedPhpArrayDumper::$serialize

Whether to serialize service definitions or not. Service definitions are serialized by default to avoid having to unserialize the whole container on loading time, which improves early bootstrap performance for e.g. the page cache. Type: bool File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 46 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\