You are here

private function GraphvizDumper::startDot in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/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 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Dumper/GraphvizDumper.php
Dumps the service container as a graphviz graph.

File

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

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