You are here

private function GraphvizDumper::dotize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/dependency-injection/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 vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php
Returns all edges.
GraphvizDumper::addNodes in vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php
Returns all nodes.

File

vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php, line 283

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