| 1 | <?php |
||
| 10 | abstract class AbstractRequest implements RequestInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var int |
||
| 14 | */ |
||
| 15 | private $activity = Activity::WEB_REQUEST; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \DateTime |
||
| 19 | */ |
||
| 20 | private $date = null; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var bool |
||
| 24 | */ |
||
| 25 | private $showCountry = false; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param int $activity |
||
| 29 | * |
||
| 30 | * @return $this |
||
| 31 | */ |
||
| 32 | public function setActivity($activity) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param \DateTime|null $date |
||
| 41 | * |
||
| 42 | * @return $this |
||
| 43 | */ |
||
| 44 | final public function setDate(\DateTime $date = null) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @param bool $showCountry |
||
| 53 | */ |
||
| 54 | public function setShowCountry($showCountry) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | public function getParameters() |
||
| 75 | } |
||
| 76 |