| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | trait ForwardMethodTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param $method |
||
| 19 | * @param $type |
||
| 20 | * |
||
| 21 | * @throws ResponseException |
||
| 22 | * @throws NormalizationException |
||
| 23 | * |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | abstract public function call($method, $type = null); |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param ForwardMessageMethod $method |
||
| 30 | * |
||
| 31 | * @throws NormalizationException |
||
| 32 | * @throws ResponseException |
||
| 33 | * |
||
| 34 | * @return MessageType |
||
| 35 | */ |
||
| 36 | 1 | public function forwardMessage(ForwardMessageMethod $method): MessageType |
|
| 41 |