Skip to content

Instantly share code, notes, and snippets.

@andreia
Created November 29, 2019 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreia/e78d4c5856b2b6aa49c17bdbc7ef1ca3 to your computer and use it in GitHub Desktop.
Save andreia/e78d4c5856b2b6aa49c17bdbc7ef1ca3 to your computer and use it in GitHub Desktop.
# config/services.yaml
services:
_instanceof:
App\Handler:
tags:
- { name: 'app.handler', priority: 20 }
App\HandlerCollection:
arguments: [!tagged_iterator app.handler]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment