Copied!

Transforms a php doc type to a {@link Type} instance.

CloneableFinalInstantiable
Methods
public getType(phpDocumentor\Reflection\Type $varType) : ?Symfony\Component\TypeInfo\Type
 

Creates a {@see Type} from a PHPDoc type.

Methods
private createType(phpDocumentor\Reflection\Type $docType) : ?Symfony\Component\TypeInfo\Type
 

Creates a {@see Type} from a PHPDoc type.

private getPhpTypeAndClass(string $docType) : array
private hasNoExplicitKeyType(phpDocumentor\Reflection\Types\Array_|phpDocumentor\Reflection\Types\Collection $type) : bool
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration