Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | final class Evaluate implements Request |
||
20 | { |
||
21 | private $expr; |
||
22 | private $args; |
||
23 | |||
24 | 58 | public function __construct(string $expr, array $args = []) |
|
28 | 58 | } |
|
29 | |||
30 | 58 | public function getType() : int |
|
31 | { |
||
32 | 58 | return RequestTypes::EVALUATE; |
|
33 | } |
||
34 | |||
35 | 58 | public function getBody() : array |
|
40 | ]; |
||
41 | } |
||
43 |