PHP Class PHPCfg\Printer\GraphViz

Inheritance: extends PHPCfg\Printer
Exibir arquivo Open project: ircmaxell/php-cfg

Protected Properties

Property Type Description
$graph
$options

Public Methods

Method Description
__construct ( array $options = [] )
printFunc ( Func $func )
printScript ( Script $script )
printVars ( Func $func )

Protected Methods

Method Description
indent ( string $str, $levels = 1 ) : string
printFuncInto ( Func $func, phpDocumentor\GraphViz\Graph $graph, $prefix )
printFuncWithHeader ( Func $func, phpDocumentor\GraphViz\Graph $graph, $prefix )

Private Methods

Method Description
createEdge ( phpDocumentor\GraphViz\Node $from, phpDocumentor\GraphViz\Node $to )
createGraph ( )
createNode ( $id, $content )

Method Details

__construct() public method

public __construct ( array $options = [] )
$options array

indent() protected method

protected indent ( string $str, $levels = 1 ) : string
$str string
return string

printFunc() public method

public printFunc ( Func $func )
$func PHPCfg\Func

printFuncInto() protected method

protected printFuncInto ( Func $func, phpDocumentor\GraphViz\Graph $graph, $prefix )
$func PHPCfg\Func
$graph phpDocumentor\GraphViz\Graph

printFuncWithHeader() protected method

protected printFuncWithHeader ( Func $func, phpDocumentor\GraphViz\Graph $graph, $prefix )
$func PHPCfg\Func
$graph phpDocumentor\GraphViz\Graph

printScript() public method

public printScript ( Script $script )
$script PHPCfg\Script

printVars() public method

public printVars ( Func $func )
$func PHPCfg\Func

Property Details

$graph protected_oe property

protected $graph

$options protected_oe property

protected $options