1 | <?php |
||
14 | final class Request implements RequestInterface |
||
15 | { |
||
16 | /** @var ParameterBag */ |
||
17 | private $attributes; |
||
18 | /** @var string */ |
||
19 | private $method; |
||
20 | /** @var array|\stdClass */ |
||
21 | private $parameters; |
||
22 | |||
23 | /** |
||
24 | * Request constructor. |
||
25 | * |
||
26 | * @param ParameterBag $attributes |
||
27 | * @param string $method |
||
28 | * @param array|\stdClass $parameters |
||
29 | */ |
||
30 | 7 | public function __construct($method, $parameters, ParameterBag $attributes = null) |
|
36 | |||
37 | /** {@inheritdoc} */ |
||
38 | 7 | public function getAttributes() |
|
42 | |||
43 | /** {@inheritdoc} */ |
||
44 | 7 | public function getMethod() |
|
48 | |||
49 | /** {@inheritdoc} */ |
||
50 | 7 | public function getParameters() |
|
54 | } |
||
55 |