PHP Трейт gossi\codegen\model\parts\TypePart

For all models that have a type
Автор: Thomas Gossmmann
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

getType() публичный Метод

Returns the type
public getType ( ) : string
Результат string

getTypeDescription() публичный Метод

Returns the type description
public getTypeDescription ( ) : string
Результат string

setType() публичный Метод

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

setTypeDescription() публичный Метод

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