class GraphvizDumper extends Dumper
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
Methods
__construct(ContainerBuilder $container) | from Dumper | |
string | dump(array $options = array()) Dumps the service container as a graphviz graph. |
Details
__construct(ContainerBuilder $container)
string dump(array $options = array())
Dumps the service container as a graphviz graph.
Available options:
- graph: The default options for the whole graph
- node: The default options for nodes
- edge: The default options for edges
- node.instance: The default options for services that are defined directly by object instances
- node.definition: The default options for services that are defined via service definition instances
- node.missing: The default options for missing services
Please login to continue.