Resolves type for a given string.
- author Mathias Arlaud
- author Baptiste Leduc
CloneableFinalInstantiable
Methods |
public __construct(?PHPStan\PhpDocParser\Lexer\Lexer $lexer = NULL, ?PHPStan\PhpDocParser\Parser\TypeParser $parser = NULL) |
public resolve(?mixed $subject, ?Symfony |
Properties |
private static array $classExistCache = []
|
private readonly PHPStan\PhpDocParser\Lexer\Lexer $lexer |
private readonly PHPStan\PhpDocParser\Parser\TypeParser $parser |
Methods |
private getTypeFromNode(PHPStan\PhpDocParser\Ast\Type\TypeNode $node, ?Symfony |
private resolveCustomIdentifier(string $identifier, ?Symfony |
Properties |
private static array $classExistCache = []
|