PHP Trait gossi\codegen\model\parts\TypePart

For all models that have a type
Author: Thomas Gossmmann
Afficher le fichier Open project: gossi/php-code-generator

Méthodes publiques

Méthode Description
getType ( ) : string Returns the type
getTypeDescription ( ) : string Returns the type description
setType ( string $type, string $description = null ) Sets the type
setTypeDescription ( string $description ) Sets the description for the type

Method Details

getType() public méthode

Returns the type
public getType ( ) : string
Résultat string

getTypeDescription() public méthode

Returns the type description
public getTypeDescription ( ) : string
Résultat string

setType() public méthode

Sets the type
public setType ( string $type, string $description = null )
$type string
$description string

setTypeDescription() public méthode

Sets the description for the type
public setTypeDescription ( string $description )
$description string