| 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 | 5 | public function setEntityAttributes(array $attributes) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * Gets the attributes of this entity. |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | 3 | public function getArrayCopy() |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @return int |
||
| 62 | */ |
||
| 63 | public function getId() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @param int $id |
||
| 70 | * |
||
| 71 | * @return Base |
||
| 72 | */ |
||
| 73 | public function setId($id) |
||
| 79 | } |
||
| 80 |