| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | public static function __invoke(array $parameters) { |
||
| 14 | $attributes = \Service::getRequest()->attributes; |
||
| 15 | $query = \Service::getRequest()->query; |
||
| 16 | |||
| 17 | return \Service::getGenerator()->generate( |
||
| 18 | $attributes->get('_route'), |
||
| 19 | $parameters + $attributes->get('_route_params') + $query->all() |
||
| 20 | ); |
||
| 21 | } |
||
| 22 | |||
| 28 |