CloneableInstantiable
ExtendsPhpParser\NodeVisitorAbstract
PHPFUI\RefActor\Actor\Base
PHPFUI\RefActor\Actor\Classes\Base
ImplementsPhpParser\NodeVisitor
Methods
public __construct(string $csvFileName = 'classNames.csv', string $delimiter = ',')
public PhpParser\NodeVisitorAbstract::afterTraverse(array $nodes)
public PhpParser\NodeVisitorAbstract::beforeTraverse(array $nodes)
public enterNode(PhpParser\Node $node) : void
public PHPFUI\RefActor\Actor\Base::filterNode(PhpParser\Node $node, array $nodeNames) : bool
public PHPFUI\RefActor\Actor\Classes\Base::getBaseDirectory() : string
public PHPFUI\RefActor\Actor\Classes\Base::getClassInfo(?string $fqn) : array
public PHPFUI\RefActor\Actor\Classes\Base::getCorrectClassName(array $row) : string
public PHPFUI\RefActor\Actor\Classes\Base::getCorrectFileName(array $row) : string
public PHPFUI\RefActor\Actor\Classes\Base::getCorrectNamespace(array $row) : string
public PHPFUI\RefActor\Actor\Base::getCurrentFile() : string
 

Get the current file being processed

public PHPFUI\RefActor\Actor\Classes\Base::getCurrentNamespace() : string
public getDescription() : string
public PHPFUI\RefActor\Actor\Base::getPrint() : bool
public getTestCases() : array
public leaveNode(PhpParser\Node $node)
public PHPFUI\RefActor\Actor\Classes\Base::setBaseDirectory(string $baseDirectory) : self
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\Classes\Base::setCurrentNameSpace(string $currentNamespace) : self
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 PHPFUI\RefActor\Actor\Classes\Base::shouldProcessFile(string $file) : bool
Properties
protected PHPFUI\RefActor PHPFUI\RefActor\Actor\Base::$refActor
Properties
private array $filterNodes
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only