Skip to content

Commit a2777bb

Browse files
authored
Update multiple_kernels.rst
1 parent f3bb355 commit a2777bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configuration/multiple_kernels.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ files so they don't collide with the files from ``src/Kernel.php``::
114114
$loader->load($confDir.'/api/'.$this->environment.'/**/*'.self::CONFIG_EXTS, 'glob');
115115
}
116116
}
117+
118+
protected function configureRoutes(RouteCollectionBuilder $routes): void
119+
{
120+
// load only the config routes strictly needed for the API
121+
}
117122
}
118123

119124
Step 3) Define the Kernel Configuration

0 commit comments

Comments
 (0)