| 1 | <?php |
||
| 16 | class ApiRoutesResolver extends Nette\Object |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Place REST API routes at the beginnig of all routes |
||
| 21 | * @param IRouter $router |
||
| 22 | * @param array $routes |
||
| 23 | * @return void |
||
| 24 | */ |
||
| 25 | public function prepandRoutes(IRouter $router, array $routes) |
||
| 54 | |||
| 55 | |||
| 56 | /** |
||
| 57 | * @param IRouter $router |
||
| 58 | * @return array |
||
| 59 | */ |
||
| 60 | public function findAndDestroyUserRoutes(IRouter $router) |
||
| 76 | |||
| 77 | } |
||
| 78 |