| 1 | <?php |
||
| 11 | class Base |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var int |
||
| 15 | */ |
||
| 16 | protected $id; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Sets the attributes of this entity. |
||
| 20 | * |
||
| 21 | * @param array $attributes |
||
| 22 | * |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | 11 | public function setEntityAttributes(array $attributes) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Gets the attributes of this entity. |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | 4 | public function getArrayCopy() |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @return int |
||
| 67 | */ |
||
| 68 | public function getId() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @param int $id |
||
| 75 | * |
||
| 76 | * @return Base |
||
| 77 | */ |
||
| 78 | 9 | public function setId($id) |
|
| 84 | } |
||
| 85 |