Skip to content

Commit 2ffc217

Browse files
committed
Allow to autowire Engine
1 parent 4bd0b39 commit 2ffc217

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config/services.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
<service id="meilisearch.engine" class="Meilisearch\Bundle\Engine">
88
<argument type="service" id="meilisearch.client" />
99
</service>
10+
<service id="Meilisearch\Bundle\Engine" alias="meilisearch.engine" />
1011

1112
<!-- After bumping to Symfony >5.1 deeprecate public services into private services -->
1213
<service id="meilisearch.service" class="Meilisearch\Bundle\Services\MeilisearchService" public="true">
13-
<argument /><!-- After bumping to Symfony 5.1 use type="abstract" -->
14+
<argument type="abstract">normalizer</argument>
1415
<argument type="service" id="meilisearch.engine" />
15-
<argument type="collection" /><!-- After bumping to Symfony 5.1 use type="abstract" -->
16+
<argument type="abstract">configuration</argument>
1617
<argument type="service" id="property_accessor" />
1718
</service>
1819
<service id="search.service" alias="meilisearch.service" public="true">

0 commit comments

Comments
 (0)