1 | <?php |
||
11 | class BaseItem |
||
12 | { |
||
13 | const DEGRADE_WITH_TIME = true; |
||
14 | |||
15 | /** @var Item */ |
||
16 | protected $item; |
||
17 | |||
18 | 15 | public function __construct(Item $an_item) |
|
22 | |||
23 | 4 | protected function getQualityMagnitudeForNextUpdate() |
|
27 | |||
28 | 13 | public function updateQualityByDayPassed() |
|
40 | |||
41 | 13 | private function validateQualityBoundaries() |
|
51 | } |
||
52 |