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

Cloneable Instantiable
Methods
public Symfony\Component\DependencyInjection\Dumper\Dumper :: __construct ( Symfony\Component\DependencyInjection\ContainerBuilder $container )
public dump ( array $options = [ ] ) : string
 

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
Properties
protected Symfony\Component\DependencyInjection\Dumper\Dumper :: $container
Properties
private array $edges
private array $nodes
private array $options
Methods
private addAttributes ( array $attributes ) : string
private addEdges () : string
private addNodes () : string
private addOptions ( array $options ) : string
private cloneContainer () : Symfony\Component\DependencyInjection\ContainerBuilder
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
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration