PHP Class Zend\Code\Generator\TypeGenerator

Inheritance: implements Zend\Code\Generator\GeneratorInterface
Afficher le fichier Open project: zendframework/zend-code Class Usage Examples

Méthodes publiques

Méthode Description
__toString ( ) : string
fromTypeString ( string $type ) : TypeGenerator
generate ( ) {@inheritDoc}

Private Methods

Méthode Description
__construct ( )
isInternalPhpType ( string $type ) : boolean
trimNullable ( string $type ) : bool[] | string[]
trimType ( string $type ) : bool[] | string[]

Method Details

__toString() public méthode

public __toString ( ) : string
Résultat string the cleaned type string

fromTypeString() public static méthode

public static fromTypeString ( string $type ) : TypeGenerator
$type string
Résultat TypeGenerator

generate() public méthode

{@inheritDoc}
public generate ( )