| 1 | <?php |
||
| 4 | final class BackstagePassItem extends BaseItem |
||
| 5 | { |
||
| 6 | const ITEM_NAME = 'Backstage passes to a TAFKAL80ETC concert'; |
||
| 7 | const DEGRADE_WITH_TIME = false; |
||
| 8 | |||
| 9 | const DAYS_TO_BE_VERY_CLOSE = 5; |
||
| 10 | const DAYS_TO_BE_CLOSE = 10; |
||
| 11 | |||
| 12 | 5 | protected function getQualityMagnitudeForNextUpdate() |
|
| 26 | |||
| 27 | 5 | private function concertHasStartedOrHasBeenCelebrated() |
|
| 31 | |||
| 32 | 5 | private function concertDateIsVeryClose() |
|
| 36 | |||
| 37 | 2 | private function concertDateIsClose() |
|
| 41 | } |
||
| 42 |