CloneableInstantiable
ExtendsPhpParser\NodeVisitorAbstract
PHPFUI\RefActor\Actor\Base
ImplementsPhpParser\NodeVisitor
Methods
public __construct(string $csvFileName = 'FindAndReplace.csv', string $delimiter = ',')
public PhpParser\NodeVisitorAbstract::afterTraverse(array $nodes)
public PhpParser\NodeVisitorAbstract::beforeTraverse(array $nodes)
public PhpParser\NodeVisitorAbstract::enterNode(PhpParser\Node $node)
public PHPFUI\RefActor\Actor\Base::filterNode(PhpParser\Node $node, array $nodeNames) : bool
public PHPFUI\RefActor\Actor\Base::getCurrentFile() : string
 

Get the current file being processed

public getDescription() : string
public PHPFUI\RefActor\Actor\Base::getPrint() : bool
public getTestCases() : array
public PhpParser\NodeVisitorAbstract::leaveNode(PhpParser\Node $node)
public PHPFUI\RefActor\Actor\Base::setCurrentFile(string $currentFile) : self
 

Sets the $this->currentFile variable once processing has begun. This is called after shouldProcessFile returns true.

public PHPFUI\RefActor\Actor\Base::setPrint(bool $print = true) : self
public PHPFUI\RefActor\Actor\Base::setRefActor(PHPFUI\RefActor $refActor) : self
 

Called by RefActor when adding an Actor. Allows the Actor to reference the RefActor controller.

public shouldProcessFile(string $file) : bool
Properties
protected PHPFUI\RefActor PHPFUI\RefActor\Actor\Base::$refActor
Properties
private array $find
private array $replace
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only