CoR / State / Visitor
Inheritance: extends PhpParser\NodeVisitorAbstract, implements Trismegiste\Mondrian\Visitor\State\VisitorContext
Exemplo n.º 1
0
 public function __construct(ReflectionContext $ref, GraphContext $grf, Graph $g)
 {
     $visitor = [new \Trismegiste\Mondrian\Visitor\State\PackageLevel(), new FileLevel(), new ClassLevel(), new InterfaceLevel(), new TraitLevel()];
     parent::__construct($visitor, $ref, $grf, $g);
 }
Exemplo n.º 2
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testNoNodeFound()
 {
     $this->buildVisitorUnique();
     $this->sut->getNodeFor('fddbfgb');
 }