Skip to content

Commit cff9918

Browse files
committed
fixup
1 parent d00a3c8 commit cff9918

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

service_container/3.3-di-changes.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,10 @@ The third big change is that, in a new Symfony 3.3 project, your controllers are
372372
.. code-block:: php
373373
374374
// app/config/services.php
375-
use Symfony\Component\DependencyInjection\Definition;
376375
377-
// To use as default template
378-
$definition = new Definition();
376+
// ...
379377
378+
// override default template
380379
$definition->setPublic(true);
381380
382381
$this->registerClasses($definition, 'AppBundle\\Controller\\', '../../src/AppBundle/Controller/*');

0 commit comments

Comments
 (0)