PHP Class Trismegiste\Mondrian\Transform\GraphBuilder

GraphBuilder is a builder for a compiler
Inheritance: extends Trismegiste\Mondrian\Builder\Compiler\AbstractTraverser
Mostra file Open project: trismegiste/mondrian

Protected Properties

Property Type Description
$config
$graphResult
$logger
$reflection
$vertexContext

Public Methods

Method Description
__construct ( array $cfg, Trismegiste\Mondrian\Graph\Graph $g, Trismegiste\Mondrian\Transform\Logger\LoggerInterface $log ) Injecting the external in/out parameters
buildCollectors ( ) : FqcnCollector[] Build a list of visitor for each pass
buildContext ( ) Build the context(s) for passes

Method Details

__construct() public method

Injecting the external in/out parameters
public __construct ( array $cfg, Trismegiste\Mondrian\Graph\Graph $g, Trismegiste\Mondrian\Transform\Logger\LoggerInterface $log )
$cfg array
$g Trismegiste\Mondrian\Graph\Graph
$log Trismegiste\Mondrian\Transform\Logger\LoggerInterface

buildCollectors() public method

Build a list of visitor for each pass
public buildCollectors ( ) : FqcnCollector[]
return FqcnCollector[] list of passes

buildContext() public method

Build the context(s) for passes
public buildContext ( )

Property Details

$config protected_oe property

protected $config

$graphResult protected_oe property

protected $graphResult

$logger protected_oe property

protected $logger

$reflection protected_oe property

protected $reflection

$vertexContext protected_oe property

protected $vertexContext