Skip to content

Commit

Permalink
Add missing autowiring of clock
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Kolb committed May 6, 2024
1 parent de94dc2 commit 22b4589
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Resources/config/services.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
services:

# Interface autowiring
DigitalCraftsman\DateTimePrecision\Clock\Clock: '@DigitalCraftsman\DateTimePrecision\Clock\SystemClock'

# Normalizers
DigitalCraftsman\DateTimePrecision\Serializer\MomentNormalizer:
tags: [ { name: 'serializer.normalizer' } ]

Expand Down
4 changes: 4 additions & 0 deletions src/Resources/config/services_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
services:

# Interface autowiring
DigitalCraftsman\DateTimePrecision\Clock\Clock: '@DigitalCraftsman\DateTimePrecision\Clock\FrozenClock'

0 comments on commit 22b4589

Please sign in to comment.