diff --git a/recipes/symfony/framework-bundle/etc/packages/app.yaml b/recipes/symfony/framework-bundle/etc/packages/app.yaml new file mode 100644 index 00000000..e62d821b --- /dev/null +++ b/recipes/symfony/framework-bundle/etc/packages/app.yaml @@ -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']