\Pivot\Core\ModelsTypes

Summary

Methods
Properties
Constants
getTypes()
getTypeByCode()
getCodeByType()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getTypes()

getTypes() : array

Returns

array

getTypeByCode()

getTypeByCode(integer  $code) : string

Parameters

integer $code

Throws

\Pivot\Core\Exceptions\NotFoundException

Returns

string

getCodeByType()

getCodeByType(string  $type) : integer

Parameters

string $type

Throws

\Pivot\Core\Exceptions\NotFoundException

Returns

integer