protected OptimizedPhpArrayDumper::getParameters()
Gets parameters of the container as a PHP array.
array The escaped and prepared parameters of the container.
protected function getParameters() { if (!$this->container->getParameterBag()->all()) { return array(); } $parameters = $this->container->getParameterBag()->all(); $is_frozen = $this->container->isFrozen(); return $this->prepareParameters($parameters, $is_frozen); }
© 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!OptimizedPhpArrayDumper.php/function/OptimizedPhpArrayDumper::getParameters/8.1.x