1 | <?php |
||
16 | class Request extends ValueObject implements RequestInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $method = Request::GET; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $uri; |
||
27 | |||
28 | /** |
||
29 | * @var array |
||
30 | */ |
||
31 | protected $data; |
||
32 | |||
33 | /** |
||
34 | * @inheritDoc |
||
35 | */ |
||
36 | 55 | public function getMethod() |
|
40 | |||
41 | /** |
||
42 | * @inheritDoc |
||
43 | */ |
||
44 | 54 | public function getUri() |
|
48 | |||
49 | /** |
||
50 | * @inheritDoc |
||
51 | */ |
||
52 | 33 | public function jsonSerialize() |
|
56 | |||
57 | /** |
||
58 | * @inheritDoc |
||
59 | */ |
||
60 | 55 | public function getData() |
|
64 | } |
||
65 |