[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/dependency-injection/Dumper/ -> GraphvizDumper.php (summary)

(no description)

File Size: 304 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

GraphvizDumper:: (12 methods):
  dump()
  addNodes()
  addEdges()
  findEdges()
  findNodes()
  cloneContainer()
  startDot()
  endDot()
  addAttributes()
  addOptions()
  dotize()
  getAliases()


Class: GraphvizDumper  - X-Ref

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

dump(array $options = array()   X-Ref
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

return: string The dot representation of the service container

addNodes()   X-Ref
Returns all nodes.

return: string A string representation of all nodes

addEdges()   X-Ref
Returns all edges.

return: string A string representation of all edges

findEdges($id, array $arguments, $required, $name)   X-Ref
Finds all edges belonging to a specific service id.

param: string $id        The service id used to find edges
param: array  $arguments An array of arguments
param: bool   $required
param: string $name
return: array An array of edges

findNodes()   X-Ref
Finds all nodes.

return: array An array of all nodes

cloneContainer()   X-Ref
No description

startDot()   X-Ref
Returns the start dot.

return: string The string representation of a start dot

endDot()   X-Ref
Returns the end dot.

return: string

addAttributes(array $attributes)   X-Ref
Adds attributes.

param: array $attributes An array of attributes
return: string A comma separated list of attributes

addOptions(array $options)   X-Ref
Adds options.

param: array $options An array of options
return: string A space separated list of options

dotize($id)   X-Ref
Dotizes an identifier.

param: string $id The identifier to dotize
return: string A dotized string

getAliases($id)   X-Ref
Compiles an array of aliases for a specified service id.

param: string $id A service id
return: array An array of aliases



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1