PHP Класс Bravo3\Orm\Tests\Entities\ModifiedEntity

Наследование: implements Bravo3\Orm\Traits\CreateModifyInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$id integer
$name string

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

Метод Описание
getId ( ) : integer Get Id
getLastModified ( ) : DateTime Get the time the entity was last modified
getName ( ) : string Get Name
getTimeCreated ( ) : DateTime Get the time the entity was created
setId ( integer $id ) Set Id
setLastModified ( DateTime $last_modified ) Set the time the entity was last modified
setName ( string $name ) Set Name
setTimeCreated ( DateTime $time_created ) Set the time the entity was created

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

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

Get Id
public getId ( ) : integer
Результат integer

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

Get the time the entity was last modified
public getLastModified ( ) : DateTime
Результат DateTime

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

Get Name
public getName ( ) : string
Результат string

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

Get the time the entity was created
public getTimeCreated ( ) : DateTime
Результат DateTime

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

Set Id
public setId ( integer $id )
$id integer

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

Set the time the entity was last modified
public setLastModified ( DateTime $last_modified )
$last_modified DateTime

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

Set Name
public setName ( string $name )
$name string

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

Set the time the entity was created
public setTimeCreated ( DateTime $time_created )
$time_created DateTime

Описание свойств

$id защищенное свойство

protected int $id
Результат integer

$name защищенное свойство

protected string $name
Результат string