Skip to content

Commit

Permalink
Merge pull request #1554 from mbabker/autowiring-aliases
Browse files Browse the repository at this point in the history
Add aliases for manager services for improved autowiring support
  • Loading branch information
dbu authored Feb 26, 2024
2 parents 6314e7d + 63d9dba commit bb4c7f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/config/imagine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<argument type="service" id="liip_imagine" />
<argument type="service" id="liip_imagine.binary.mime_type_guesser" />
</service>
<service id="Liip\ImagineBundle\Imagine\Filter\FilterManager" alias="liip_imagine.filter.manager"/>

<service id="liip_imagine.data.manager" class="Liip\ImagineBundle\Imagine\Data\DataManager" public="true">
<argument type="service" id="liip_imagine.binary.mime_type_guesser" />
Expand All @@ -133,6 +134,7 @@
<argument>%liip_imagine.binary.loader.default%</argument>
<argument>%liip_imagine.default_image%</argument>
</service>
<service id="Liip\ImagineBundle\Imagine\Data\DataManager" alias="liip_imagine.data.manager"/>

<service id="liip_imagine.cache.manager" class="Liip\ImagineBundle\Imagine\Cache\CacheManager" public="true">
<argument type="service" id="liip_imagine.filter.configuration" />
Expand All @@ -142,6 +144,7 @@
<argument>%liip_imagine.cache.resolver.default%</argument>
<argument>%liip_imagine.webp.generate%</argument>
</service>
<service id="Liip\ImagineBundle\Imagine\Cache\CacheManager" alias="liip_imagine.cache.manager"/>

<service id="liip_imagine.filter.configuration" class="Liip\ImagineBundle\Imagine\Filter\FilterConfiguration">
<argument>%liip_imagine.filter_sets%</argument>
Expand Down

0 comments on commit bb4c7f0

Please sign in to comment.