Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Psecio\Parse\CallbackVisitor $visitor, PhpParser\Parser $parser = null, |
Optionally inject parser | |
onNodeFailure ( Psecio\Parse\RuleInterface $rule, PhpParser\Node $node, Psecio\Parse\File $file ) : void | Node fail callback | |
scan ( |
Execute the scan |
public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Psecio\Parse\CallbackVisitor $visitor, PhpParser\Parser $parser = null, |
||
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$visitor | Psecio\Parse\CallbackVisitor | |
$parser | PhpParser\Parser | |
$traverser |
public onNodeFailure ( Psecio\Parse\RuleInterface $rule, PhpParser\Node $node, Psecio\Parse\File $file ) : void | ||
$rule | Psecio\Parse\RuleInterface | |
$node | PhpParser\Node | |
$file | Psecio\Parse\File | |
Результат | void |