Skip to content

Commit bd2af8b

Browse files
committed
Added the tag in other config formats
1 parent 5f82197 commit bd2af8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

security/ldap.rst

+3-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ An LDAP client can be configured using the built-in
9292
<services>
9393
<service id="Symfony\Component\Ldap\Ldap">
9494
<argument type="service" id="Symfony\Component\Ldap\Adapter\ExtLdap\Adapter"/>
95+
<tag name="ldap"/>
9596
</service>
9697
<service id="Symfony\Component\Ldap\Adapter\ExtLdap\Adapter">
9798
<argument type="collection">
@@ -114,7 +115,8 @@ An LDAP client can be configured using the built-in
114115
use Symfony\Component\Ldap\Ldap;
115116
116117
$container->register(Ldap::class)
117-
->addArgument(new Reference(Adapter::class));
118+
->addArgument(new Reference(Adapter::class))
119+
->tag('ldap');
118120
119121
$container
120122
->register(Adapter::class)

0 commit comments

Comments
 (0)