Deprecate registerRoutes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
08bfd63406
commit
37b2121ccf
|
@ -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 New Issue