Specification/JsonRpcRequest.php 1 location
|
@@ 62-70 (lines=9) @@
|
59 |
|
} |
60 |
|
|
61 |
|
/** {@inheritdoc} */ |
62 |
|
public function jsonSerialize() |
63 |
|
{ |
64 |
|
return [ |
65 |
|
self::VERSION_FIELD => $this->getVersion(), |
66 |
|
self::METHOD_FIELD => $this->getMethod(), |
67 |
|
self::PARAMETERS_FIELD => $this->getParameters(), |
68 |
|
self::ID_FIELD => $this->getId(), |
69 |
|
]; |
70 |
|
} |
71 |
|
|
72 |
|
/** {@inheritdoc} */ |
73 |
|
public function getVersion() |
Specification/RichJsonRpcRequest.php 1 location
|
@@ 42-50 (lines=9) @@
|
39 |
|
} |
40 |
|
|
41 |
|
/** {@inheritdoc} */ |
42 |
|
public function jsonSerialize() |
43 |
|
{ |
44 |
|
return [ |
45 |
|
self::VERSION_FIELD => $this->getVersion(), |
46 |
|
self::METHOD_FIELD => $this->getMethod(), |
47 |
|
self::PARAMETERS_FIELD => $this->getParameters(), |
48 |
|
self::ID_FIELD => $this->getId(), |
49 |
|
]; |
50 |
|
} |
51 |
|
|
52 |
|
/** {@inheritdoc} */ |
53 |
|
public function getVersion() |