| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function callRoute($method, $uri, $parameters = [], $cookies = [], $files = [], $server = [], $content = null) |
||
| 25 | { |
||
| 26 | $dispatcher = app('Dingo\Api\Dispatcher')->raw(); |
||
| 27 | |||
| 28 | collect($server)->map(function ($key, $value) use ($dispatcher) { |
||
| 29 | $dispatcher->header($value, $key); |
||
| 30 | }); |
||
| 31 | |||
| 32 | return call_user_func_array([$dispatcher, strtolower($method)], [$uri]); |
||
| 33 | } |
||
| 34 | |||
| 59 |