Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
61 | public function dispatch($request, array $parameters) |
||
62 | { |
||
63 | $matchedRoute = $this->matcher->matchRequest($request); |
||
64 | if ($matchedRoute !== false) { |
||
65 | return $this->dispatcher->dispatchRoute($matchedRoute, $parameters); |
||
66 | } |
||
67 | |||
68 | return $this->dispatcher->dispatchNotFound(); |
||
69 | } |
||
70 | } |
||
71 |