1 | <?php |
||
9 | class DaysCount implements GetParameterInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var int |
||
13 | */ |
||
14 | protected $count; |
||
15 | |||
16 | /** |
||
17 | * DaysCount constructor. |
||
18 | * |
||
19 | * @param int $numberOfDays |
||
20 | */ |
||
21 | public function __construct(int $numberOfDays = 10) |
||
25 | |||
26 | /** |
||
27 | * @return int |
||
28 | */ |
||
29 | public function getCount(): int |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function getGetParameterValue(): string |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getGetParameterName(): string |
||
49 | } |
||
50 |