mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
added a default configuration to enable all the goodness of Symfony 3.3
This commit is contained in:
@@ -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']
|
||||
Reference in New Issue
Block a user