PHP 클래스 Bravo3\Orm\Tests\Entities\ModifiedEntity

상속: implements Bravo3\Orm\Traits\CreateModifyInterface
파일 보기 프로젝트 열기: bravo3/orm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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