Copied!

NameScope class adapted from PHPStan code.

CloneableFinalInstantiable
Methods
public __construct(string $calledClassName, string $namespace, array $uses = [])
public resolveRootClass() : string
public resolveStringName(string $name) : string
Properties
private string $calledClassName
private string $namespace
private array $uses
 
  • var array<string,string> alias(string) => fullName(string)
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration