| 1 | <?php | ||
| 10 | class DateTime implements GetParameterInterface, UriParameterInterface | ||
| 11 | { | ||
| 12 | /** | ||
| 13 | * @var \DateTimeInterface | ||
| 14 | */ | ||
| 15 | protected $datetime; | ||
| 16 | |||
| 17 | /** | ||
| 18 | * Datetime constructor. | ||
| 19 | * | ||
| 20 | * @param \DateTimeInterface $datetime | ||
| 21 | */ | ||
| 22 | public function __construct(\DateTimeInterface $datetime) | ||
| 26 | |||
| 27 | /** | ||
| 28 | * @return string | ||
| 29 | */ | ||
| 30 | public function getDateTime() | ||
| 34 | |||
| 35 | /** | ||
| 36 |      * {@inheritdoc} | ||
| 37 | */ | ||
| 38 | public function getGetParameterValue() | ||
| 42 | |||
| 43 | public function getGetParameterName() | ||
| 47 | |||
| 48 | public function getUriParameterValue() | ||
| 52 | |||
| 53 | public function getUriParameterName() | ||
| 57 | |||
| 58 | |||
| 59 | } | ||
| 60 |