GraphvizDumper dumps a service container as a graphviz file.
You can convert the generated dot file with the dot utility (http://www.graphviz.org/):
dot -Tpng container.dot > foo.png
- author Fabien Potencier
CloneableInstantiable
| Methods |
| public dump(array $options = []) : string Dumps the service container as a graphviz graph. Available options:
|
| Properties |
| Properties |
| private array $edges |
| private array $nodes |
| private array $options = ['graph' => ['ratio' => 'compress'], 'node' => ['fontsize' => '11', 'fontname' => 'Arial', 'shape' => 'record'], 'edge' => ['fontsize' => '9', 'fontname' => 'Arial', 'color' => 'grey', 'arrowhead' => 'open', 'arrowsize' => '0.5'], 'node.instance' => ['fillcolor' => '#9999ff', 'style' => 'filled'], 'node.definition' => ['fillcolor' => '#eeeeee'], 'node.missing' => ['fillcolor' => '#ff9999', 'style' => 'filled']] |
| Methods |
| private addAttributes(array $attributes) : string |
| private addEdges() : string |
| private addNodes() : string |
| private addOptions(array $options) : string |
| private cloneContainer() : Symfony |
| private dotize(string $id) : string |
| private endDot() : string |
| private findEdges(string $id, array $arguments, bool $required, string $name, bool $lazy = false) : array Finds all edges belonging to a specific service id. |
| private findNodes() : array |
| private getAliases(string $id) : array |
| private startDot() : string |