| 1 | <?php |
||
| 7 | class Entity implements EntityInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var mixed |
||
| 12 | */ |
||
| 13 | protected $id; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param array $data |
||
| 17 | */ |
||
| 18 | public function __construct(array $data = []) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | public function getId() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param array $properties |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function extract(array $properties = []) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param array $array |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | public function populate(array $array = []) |
||
| 64 | } |
||
| 65 |