Class PHPStan\PhpDocParser\Ast\Type\TemplateDeclarationTypeNode

implements TypeNode
uses NodeAttributes

A template declared in a generic type argument, like the "T of Foo" in class-string-map<T of Foo, T> or the "K of key-of" in array<K of key-of, Config[K]>.

The template is scoped to the generic type it is declared in. The parser reads it in the arguments of every generic type; which types give it a meaning is up to the tool resolving the types.

Methods
Methods used from PHPStan\PhpDocParser\Ast\NodeAttributes
setAttribute(), hasAttribute(), getAttribute()
Properties