Update services to latest symfony version

Use Attributes for tagging and injection
Rename ItemBag to ItemCollection
Lazyload the stages in the OptionsStageBag
This commit is contained in:
Tim
2023-03-19 16:38:32 +01:00
parent f2a18d2928
commit 851bf13e65
10 changed files with 39 additions and 48 deletions

View File

@ -1,14 +1,7 @@
services:
# Ardent\PipelineBundle\Pipeline\:
# resource: '../src/Pipeline/'
# public: true
# autowire: true
_defaults:
autowire: true
autoconfigure: true
_instanceof:
Ardent\PipelineBundle\Pipeline\OptionsProcessor\OptionsStageInterface:
tags: [ 'ardent.pipeline.optionsProcessor' ]
Ardent\PipelineBundle\Pipeline\OptionsProcessor\OptionsStageBag:
arguments: [ !tagged { tag: 'ardent.pipeline.optionsProcessor' } ]
public: true
autowire: true
Ardent\PipelineBundle\Pipeline\OptionsProcessor\:
resource: '../src/Pipeline/OptionsProcessor'