메소드 | 설명 | |
---|---|---|
__call ( $method, $args ) | ||
__set ( $prop, $value ) | ||
__unset ( $prop ) | ||
getActual ( ) : stdClass | Returns actual state of the entity | |
getIterator ( ) | ||
getPrimaryKey ( ) : string | Gets primary key | |
load ( array | object $obj ) | Loads an entity from array or object | |
save ( ) | Saves entity to storage |
메소드 | 설명 | |
---|---|---|
getChanges ( ) : |
Gets changes bewteen real and database state of the entity |
protected getChanges ( ) : |
||
리턴 | Returns iterator over the changes |
abstract public getPrimaryKey ( ) : string | ||
리턴 | string | Returns property name which is primary key |