CoR / State / Visitor
Inheritance: extends PhpParser\NodeVisitorAbstract, implements Trismegiste\Mondrian\Visitor\State\VisitorContext
Example #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);
 }
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testNoNodeFound()
 {
     $this->buildVisitorUnique();
     $this->sut->getNodeFor('fddbfgb');
 }