| 1 | <?php |
||
| 8 | final class Request implements RpcRequestInterface |
||
| 9 | { |
||
| 10 | /** @var ParameterBag */ |
||
| 11 | private $attributes; |
||
| 12 | /** @var string */ |
||
| 13 | private $method; |
||
| 14 | /** @var array|\stdClass */ |
||
| 15 | private $parameters; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Request constructor. |
||
| 19 | * |
||
| 20 | * @param ParameterBag $attributes |
||
| 21 | * @param string $method |
||
| 22 | * @param array|\stdClass $parameters |
||
| 23 | */ |
||
| 24 | 9 | public function __construct($method, $parameters, ParameterBag $attributes = null) |
|
| 30 | |||
| 31 | /** {@inheritdoc} */ |
||
| 32 | 9 | public function getAttributes() |
|
| 36 | |||
| 37 | /** {@inheritdoc} */ |
||
| 38 | 9 | public function getMethod() |
|
| 42 | |||
| 43 | /** {@inheritdoc} */ |
||
| 44 | 8 | public function getParameters() |
|
| 48 | } |
||
| 49 |