PHP Trait gossi\codegen\model\parts\TypePart

For all models that have a type
Author: Thomas Gossmmann
Datei anzeigen Open project: gossi/php-code-generator

Public Methods

Method 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 method

Returns the type
public getType ( ) : string
return string

getTypeDescription() public method

Returns the type description
public getTypeDescription ( ) : string
return string

setType() public method

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

setTypeDescription() public method

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