You are here

private function GraphvizDumper::startDot 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::startDot()

Returns the start dot.

Return value

string The string representation of a start dot

1 call to GraphvizDumper::startDot()
GraphvizDumper::dump in vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php
Dumps the service container as a graphviz graph.

File

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

Class

GraphvizDumper
GraphvizDumper dumps a service container as a graphviz file.

Namespace

Symfony\Component\DependencyInjection\Dumper

Code

private function startDot() {
  return sprintf("digraph sc {\n  %s\n  node [%s];\n  edge [%s];\n\n", $this
    ->addOptions($this->options['graph']), $this
    ->addOptions($this->options['node']), $this
    ->addOptions($this->options['edge']));
}