We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 438afbf commit da3aad1Copy full SHA for da3aad1
configuration/multiple_kernels.rst
@@ -126,13 +126,19 @@ files so they don't collide with the files from ``src/Kernel.php``::
126
// ... load only the config routes strictly needed for the API
127
}
128
129
+ // If you need to run some logic to decide which bundles to load,
130
+ // you might prefer to use the registerBundles() method instead
131
private function getBundlesPath(): string
132
{
133
// load only the bundles strictly needed for the API
134
return $this->getProjectDir().'/config/api_bundles.php';
135
136
137
138
+.. versionadded:: 5.4
139
+
140
+ The ``getBundlesPath()`` method was introduced in Symfony 5.4.
141
142
Step 3) Define the Kernel Configuration
143
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144
0 commit comments