mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Merge pull request #21713 from nextcloud/td/deprecate/register_rotues
Deprecate registerRoutes
This commit is contained in:
commit
d8bd6cfe6b
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ class App {
|
|||
* @param array $routes
|
||||
* @since 6.0.0
|
||||
* @suppress PhanAccessMethodInternal
|
||||
* @deprecated 20.0.0 Just return an array from your routes.php
|
||||
*/
|
||||
public function registerRoutes(IRouter $router, array $routes) {
|
||||
$routeConfig = new RouteConfig($this->container, $router, $routes);
|
||||
|
|
|
|||
Loading…
Reference in a new issue