events/Configuration/Services.yaml
Daniel Siepmann cbd59a366d Support new DI
Provide Services.yaml to provide new DI.
Also remove deprecated command registration and move them into
Services.yaml.
2021-09-07 07:52:22 +02:00

23 lines
509 B
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
Wrm\Events\:
resource: '../Classes/*'
Wrm\Events\Command\DestinationDataImportCommand:
tags:
- name: 'console.command'
command: 'events:destinationdataimport'
Wrm\Events\Command\RemoveAllCommand:
tags:
- name: 'console.command'
command: 'events:removeAll'
Wrm\Events\Command\RemovePastCommand:
tags:
- name: 'console.command'
command: 'events:removePast'