| 1 | <?php |
||
| 7 | class ApiDoc |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Binds the ApiDoc routes into the controller. |
||
| 11 | * |
||
| 12 | * @deprecated Use autoload routes instead (`config/apidoc.php`: `laravel > autoload`). |
||
| 13 | * |
||
| 14 | * @param string $path |
||
| 15 | */ |
||
| 16 | public static function routes($path = '/doc') |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get the middlewares for Laravel routes. |
||
| 29 | * |
||
| 30 | * @return array |
||
| 31 | */ |
||
| 32 | protected static function middleware() |
||
| 36 | } |
||
| 37 |