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

Drupal\Component\DependencyInjection\Dumper

Code

protected function getParameterCall($name) {
  return (object) array(
    'type' => 'parameter',
    'name' => $name,
  );
}
doc_Drupal
2016-10-29 09:32:36
Comments
Leave a Comment

Please login to continue.