Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save J7mbo/7574085fc060e2c2022356d6b10e805e to your computer and use it in GitHub Desktop.
Save J7mbo/7574085fc060e2c2022356d6b10e805e to your computer and use it in GitHub Desktop.
php-symfony-controllers-as-services-blog-3.yaml
#config/services.yaml
services:
_instanceof:
App\Contract\ControllerInterface:
tags: ['controller.service_arguments']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment