Creates a type resolving context.
- author Mathias Arlaud
- author Baptiste Leduc
CloneableFinalInstantiable
Methods |
public __construct(?Symfony |
public createFromClassName(string $calledClassName, ?string $declaringClassName = NULL) : Symfony |
public createFromReflection(Reflector $reflection) : ?Symfony |
Properties |
private ?PHPStan\PhpDocParser\Lexer\Lexer $phpstanLexer = NULL |
private ?PHPStan\PhpDocParser\Parser\PhpDocParser $phpstanParser = NULL |
private static array $reflectionClassCache = []
|
private readonly ?Symfony |
Methods |
private collectTemplates(ReflectionClass|ReflectionFunctionAbstract $reflection, Symfony
|
private collectUses(ReflectionClass $reflection) : array
|
Properties |
private static array $reflectionClassCache = []
|