Skip to content

Commit

Permalink
Add aliases for manager services for improved autowiring support
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Jan 3, 2024
1 parent 1d42ed1 commit 63d9dba
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 63d9dba

Please sign in to comment.