File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 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.
146146Your bundles can also add their own classes into this file thanks to the
147147``addClassesToCompile() `` and ``addAnnotatedClassesToCompile() `` methods (both
148148work 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::
151152
152153 use AppBundle\Manager\UserManager;
153154 use AppBundle\Utils\Slugger;
155+ use Symfony\Component\HttpKernel\DependencyInjection\Extension;
154156
155157 // ...
156158 public function load(array $configs, ContainerBuilder $container)
@@ -182,6 +184,8 @@ class names::
182184
183185The classes to compile can also be added using file path patterns::
184186
187+ use Symfony\Component\HttpKernel\DependencyInjection\Extension;
188+
185189 // ...
186190 public function load(array $configs, ContainerBuilder $container)
187191 {
You can’t perform that action at this time.
0 commit comments