added a default configuration to enable all the goodness of Symfony 3.3

This commit is contained in:
Fabien Potencier
2017-03-22 15:39:01 -07:00
parent 83101b7d78
commit 16abcd0e42
@@ -0,0 +1,29 @@
services:
_defaults:
autowire: true
public: false
_instanceof:
Symfony\Component\Console\Command\Command:
tags: ['console.command']
public: true
Twig_ExtensionInterface:
tags: ['twig.extension']
Symfony\Component\EventDispatcher\EventSubscriberInterface:
tags: ['kernel.event_subscriber']
Symfony\Component\Form\FormTypeInterface:
tags: ['form.type']
Symfony\Component\Security\Core\Authorization\VoterInterface:
tags: ['security.voter']
App\:
resource: '../../src/{Command,Form,EventSubscriber,Twig,Voter}'
App\Controller\:
resource: '../../src/Controller'
public: true
tags: ['controller.service_arguments']