You are here

private function GraphvizDumper::dotize in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php \Symfony\Component\DependencyInjection\Dumper\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 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php
Returns all edges.
GraphvizDumper::addNodes in modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php
Returns all nodes.

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php, line 279

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));
}