| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | { |
||
| 54 | $this->methodType = self::REQUEST_METHOD_ALIAS; |
||
| 55 | $this->method = $data; |
||
| 56 | $this->method->export(); |
||
| 57 | |||
| 58 | return $this->parseData(['method' => $this->method->getMethodName(), 'params' => $this->method]); |
||
| 59 | } |
||
| 60 | |||
| 61 | /** |
||
| 62 | * @return Methods |
||
| 63 | */ |
||
| 64 | public function getMethod(): Methods |
||
| 65 | { |
||
| 66 | return $this->method; |
||
| 67 | } |
||
| 68 | |||
| 81 |