From c079aab427cf8979ef72bbc589c2c4ea58a1d83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Hubert?= Date: Sat, 3 Aug 2024 02:05:34 +0200 Subject: [PATCH] docs: Fix provider service tag --- docs/mapping/provider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/mapping/provider.md b/docs/mapping/provider.md index 41af20ae..651906ec 100644 --- a/docs/mapping/provider.md +++ b/docs/mapping/provider.md @@ -31,7 +31,7 @@ $autoMapper = AutoMapper::create(providers: [new MyProvider()]); ``` > [!NOTE] -> When using the Symfony Bundle version of the AutoMapper, you can use the `auto_mapper.provider` tag to register the provider. +> When using the Symfony Bundle version of the AutoMapper, you can use the `automapper.provider` tag to register the provider. > If you have autoconfiguration enabled, you do not need to register the provider manually as the tag will be automatically added. Then you can use the `#[MapProvider]` attribute on top of the `target` class that you want to use this provider.