1 | <?php |
||
11 | final class RpcRequestMock implements RpcRequestInterface |
||
12 | { |
||
13 | /** @var string */ |
||
14 | private $method; |
||
15 | /** @var array */ |
||
16 | private $parameters; |
||
17 | |||
18 | /** |
||
19 | * RpcRequestMock constructor. |
||
20 | * |
||
21 | * @param string $method |
||
22 | * @param array $parameters |
||
23 | */ |
||
24 | public function __construct($method, array $parameters = []) |
||
29 | |||
30 | /** {@inheritdoc} */ |
||
31 | public function getMethod() |
||
35 | |||
36 | /** {@inheritdoc} */ |
||
37 | public function getParameters() |
||
41 | } |
||
42 |