| 1 | <?php |
||
| 12 | class EntityContainer extends ContainerAccessors { |
||
| 13 | /** |
||
| 14 | * @var EntityModel $model |
||
| 15 | */ |
||
| 16 | protected $model; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \Common\Accessors $accessors |
||
| 20 | */ |
||
| 21 | protected $accessors; |
||
| 22 | |||
| 23 | /** @noinspection PhpMissingParentConstructorInspection */ |
||
| 24 | /** |
||
| 25 | * Entity\EntityContainer constructor. |
||
| 26 | * |
||
| 27 | * @param EntityModel $model |
||
| 28 | */ |
||
| 29 | public function __construct($model) { |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param EntityModel $model |
||
| 36 | */ |
||
| 37 | public function setModel(EntityModel $model) { |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return EntityModel |
||
| 43 | */ |
||
| 44 | public function getModel() { |
||
| 47 | |||
| 48 | } |
||
| 49 |