File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -146,11 +146,12 @@ I/O operations and increases the application performance.
146
146
Your bundles can also add their own classes into this file thanks to the
147
147
``addClassesToCompile() `` and ``addAnnotatedClassesToCompile() `` methods (both
148
148
work in the same way, but the second one is for classes that contain PHP
149
- annotations). Define the classes to compile as an array of their fully qualified
150
- class names::
149
+ annotations). These methods are provied by the ``Extension `` class from the
150
+ HttpKernel component. Define the classes to compile as an array of their
151
+ fully qualified class names::
151
152
152
153
use AppBundle\Manager\UserManager;
153
- use AppBundle\Utils\Slugger ;
154
+ use Symfony\Component\HttpKernel\DependencyInjection\Extension ;
154
155
155
156
// ...
156
157
public function load(array $configs, ContainerBuilder $container)
@@ -182,6 +183,8 @@ class names::
182
183
183
184
The classes to compile can also be added using file path patterns::
184
185
186
+ use Symfony\Component\HttpKernel\DependencyInjection\Extension;
187
+
185
188
// ...
186
189
public function load(array $configs, ContainerBuilder $container)
187
190
{
You can’t perform that action at this time.
0 commit comments