| Total Complexity | 3 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | abstract class BaseDiff extends BaseObject implements DiffInterface |
||
| 18 | { |
||
| 19 | use FromToDateTrait, StatsAttributesTrait; |
||
| 20 | |||
| 21 | protected $data; |
||
| 22 | |||
| 23 | public function getModel($key): array |
||
| 24 | { |
||
| 25 | return ArrayHelper::getValue($this->getData(), $key, []); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getData() |
||
| 35 | } |
||
| 36 | |||
| 37 | abstract protected function prepareData(): array; |
||
| 38 | } |