Copied!

Resolves type for a given string.

CloneableFinalInstantiable
Methods
public __construct()
public resolve(?mixed $subject, ?Symfony\Component\TypeInfo\TypeContext\TypeContext $typeContext = NULL) : Symfony\Component\TypeInfo\Type
Properties
private static array $classExistCache = []
 
  • var array<string,bool>
private readonly PHPStan\PhpDocParser\Lexer\Lexer $lexer
private readonly PHPStan\PhpDocParser\Parser\TypeParser $parser
Methods
private getTypeFromNode(PHPStan\PhpDocParser\Ast\Type\TypeNode $node, ?Symfony\Component\TypeInfo\TypeContext\TypeContext $typeContext) : Symfony\Component\TypeInfo\Type
private resolveCustomIdentifier(string $identifier, ?Symfony\Component\TypeInfo\TypeContext\TypeContext $typeContext) : Symfony\Component\TypeInfo\Type
Properties
private static array $classExistCache = []
 
  • var array<string,bool>
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration