protected function PhpArrayDumper::getParameterCall

protected PhpArrayDumper::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.

Overrides OptimizedPhpArrayDumper::getParameterCall

File

core/lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php, line 61

Class

PhpArrayDumper
PhpArrayDumper dumps a service container as a PHP array.

Namespace

Drupal\Component\DependencyInjection\Dumper

Code

protected function getParameterCall($name) {
  return '%' . $name . '%';
}

© 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::getParameterCall/8.1.x