File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ and configure the service and method to call:
9898
9999 # config/routes.yaml
100100 admin_routes :
101- resource : ' admin_route_loader:loadRoutes'
101+ resource : ' admin_route_loader:: loadRoutes'
102102 type : service
103103
104104 .. code-block :: xml
@@ -110,7 +110,7 @@ and configure the service and method to call:
110110 xsi : schemaLocation =" http://symfony.com/schema/routing
111111 https://symfony.com/schema/routing/routing-1.0.xsd" >
112112
113- <import resource =" admin_route_loader:loadRoutes" type =" service" />
113+ <import resource =" admin_route_loader:: loadRoutes" type =" service" />
114114 </routes >
115115
116116 .. code-block :: php
@@ -119,7 +119,7 @@ and configure the service and method to call:
119119 namespace Symfony\Component\Routing\Loader\Configurator;
120120
121121 return function (RoutingConfigurator $routes) {
122- $routes->import('admin_route_loader:loadRoutes', 'service');
122+ $routes->import('admin_route_loader:: loadRoutes', 'service');
123123 };
124124
125125 In this example, the routes are loaded by calling the ``loadRoutes() `` method
You can’t perform that action at this time.
0 commit comments