File tree
Expand file treeCollapse file tree1 file changed
+6
-2
lines changed Expand file treeCollapse file tree1 file changed
+6
-2
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -146,11 +146,13 @@ 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 | 154 | use AppBundle\Utils\Slugger;
|
| 155 | +use Symfony\Component\HttpKernel\DependencyInjection\Extension; |
154 | 156 |
|
155 | 157 | // ...
|
156 | 158 | public function load(array $configs, ContainerBuilder $container)
|
@@ -182,6 +184,8 @@ class names::
|
182 | 184 |
|
183 | 185 | The classes to compile can also be added using file path patterns::
|
184 | 186 |
|
| 187 | +use Symfony\Component\HttpKernel\DependencyInjection\Extension; |
| 188 | + |
185 | 189 | // ...
|
186 | 190 | public function load(array $configs, ContainerBuilder $container)
|
187 | 191 | {
|
|
You can’t perform that action at this time.
0 commit comments