private function GraphvizDumper::dotize

Dotizes an identifier.

Parameters

string $id The identifier to dotize:

Return value

string A dotized string

2 calls to GraphvizDumper::dotize()
GraphvizDumper::addEdges in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php
Returns all edges.
GraphvizDumper::addNodes in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php
Returns all nodes.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php, line 250

Class

GraphvizDumper
GraphvizDumper dumps a service container as a graphviz file.

Namespace

Symfony\Component\DependencyInjection\Dumper

Code

private function dotize($id) {
  return strtolower(preg_replace('/[^\\w]/i', '_', $id));
}