| 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() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return int |
||
| 49 | */ |
||
| 50 | public function getId() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param int $id |
||
| 57 | * |
||
| 58 | * @return Base |
||
| 59 | */ |
||
| 60 | public function setId($id) |
||
| 66 | } |
||
| 67 |