You are here

protected function PhpArrayDumper::getExpressionCall in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper::getExpressionCall()
1 call to PhpArrayDumper::getExpressionCall()
PhpArrayDumper::dumpValue in lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php
Dumps the value to YAML format.

File

lib/Drupal/Core/DependencyInjection/Dumper/PhpArrayDumper.php, line 348
Contains \Drupal\Core\DependencyInjection\Dumper\PhpArrayDumper

Class

PhpArrayDumper
PhpArrayDumper dumps a service container as a serialized PHP array.

Namespace

Drupal\Core\DependencyInjection\Dumper

Code

protected function getExpressionCall($expression) {
  return sprintf('@=%s', $expression);
}