PHP Class Bravo3\Orm\Enum\OrmEnum

Inheritance: extends Eloquent\Enumeration\AbstractEnumeration, implements Bravo3\Orm\Traits\SerialisableInterface
Show file Open project: bravo3/orm

Public Methods

Method Description
deserialise ( string $value ) Create a new instance of self from the given string representation
serialise ( ) : string Serialise self and return a string representation

Method Details

deserialise() public static method

Create a new instance of self from the given string representation
public static deserialise ( string $value )
$value string

serialise() public method

Serialise self and return a string representation
public serialise ( ) : string
return string