Skip to content

Commit

Permalink
pass arguments in DI by name
Browse files Browse the repository at this point in the history
  • Loading branch information
petrduda committed Nov 24, 2024
1 parent 8a01a8a commit f3603c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DependencyInjection/config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ services:
consistence.doctrine.enum.enum_post_load_entity_listener:
class: 'Consistence\Doctrine\Enum\EnumPostLoadEntityListener'
arguments:
- '@annotation_reader'
- '@consistence.doctrine.enum.enum_fields_cache'
$annotationReader: '@annotation_reader'
$enumFieldsCache: '@consistence.doctrine.enum.enum_fields_cache'
tags:
-
name: 'doctrine.event_listener'
Expand Down

0 comments on commit f3603c2

Please sign in to comment.