Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
getChanges ( ) : |
Gets changes bewteen real and database state of the entity |
public getActual ( ) : stdClass | ||
return | stdClass |
protected getChanges ( ) : |
||
return | Returns iterator over the changes |
abstract public getPrimaryKey ( ) : string | ||
return | string | Returns property name which is primary key |