Skip to content

Commit 8159cde

Browse files
committed
search/extensibility/*.md: Symfony's autoconfiguration
1 parent 130f30b commit 8159cde

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/search/extensibility/index_custom_elasticsearch_data.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ code_samples/search/custom/src/EventSubscriber/CustomIndexDataSubscriber.php
2424
--8<--
2525
```
2626

27-
If your subscriber is not automatically properly configured, register it as a service:
27+
If you're not using [Symfony's autoconfiguration]([[= symfony_doc =]]/service_container.html#the-autoconfigure-option)
28+
for event subscribers, register it as a service:
2829

2930
``` yaml
3031
services:

docs/search/extensibility/manipulate_elasticsearch_query.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ code_samples/search/custom/src/EventSubscriber/CustomQueryFilterSubscriber.php
1717
--8<--
1818
```
1919

20-
If your subscriber is not automatically properly configured, register it as a service:
20+
If you're not using [Symfony's autoconfiguration]([[= symfony_doc =]]/service_container.html#the-autoconfigure-option)
21+
for event subscribers, register it as a service:
2122

2223
``` yaml
2324
services:

0 commit comments

Comments
 (0)