Copied!
AbstractInterface
Methods
public abstract addVisitor(PhpParser\NodeVisitor $visitor) : void
 

Adds a visitor.

  • param \NodeVisitor $visitor Visitor to add
public abstract removeVisitor(PhpParser\NodeVisitor $visitor) : void
 

Removes an added visitor.

public abstract traverse(array $nodes) : array
 

Traverses an array of nodes using the registered visitors.

  • param \Node[] $nodes Array of nodes
  • return \Node[] Traversed array of nodes
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration