Transforms a php doc type to a {@link Type} instance.
- author Kévin Dunglas
- author Guilhem N.
CloneableFinalInstantiable
Methods |
public getType(phpDocumentor Creates a {@see Type} from a PHPDoc type. |
public getTypes(phpDocumentor Creates a {@see LegacyType} from a PHPDoc type.
|
Methods |
private createLegacyType(phpDocumentor Creates a {@see LegacyType} from a PHPDoc type. |
private createType(phpDocumentor Creates a {@see Type} from a PHPDoc type. |
private getPhpTypeAndClass(string $docType) : array |
private normalizeType(string $docType) : string |