protected function PhpArrayDumper::getParameterCall in Service Container 7
Same name in this branch
- 7 lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper::getParameterCall()
- 7 lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper::getParameterCall()
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper::getParameterCall()
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
- lib/
Drupal/ Component/ DependencyInjection/ Dumper/ PhpArrayDumper.php, line 66 - Contains \Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper.
Class
- PhpArrayDumper
- PhpArrayDumper dumps a service container as a PHP array.
Namespace
Drupal\Component\DependencyInjection\DumperCode
protected function getParameterCall($name) {
return '%' . $name . '%';
}