| 1 | <?php |
||
| 10 | abstract class AbstractEntity implements EntityInterface |
||
| 11 | { |
||
| 12 | protected $admin; |
||
| 13 | protected $name; |
||
| 14 | |||
| 15 | public $title; |
||
| 16 | public $description; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | public function __construct($name, Admin $admin) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function getName() |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function getLabel($id, array $data) |
||
| 42 | } |
||
| 43 |