Copied!

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

CloneableFinalInstantiable
Methods
public getTypes(phpDocumentor\Reflection\Type $varType) : array
 

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

  • return Type[]
Methods
private createType(phpDocumentor\Reflection\Type $type, bool $nullable, ?string $docType = NULL) : ?Symfony\Component\PropertyInfo\Type
 

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

private getPhpTypeAndClass(string $docType) : array
private normalizeType(string $docType) : string
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration