Skip to content

Commit e80f3ce

Browse files
committed
Merge branch '5.3' into 5.4
* 5.3: Added the tag in other config formats Update ldap.rst
2 parents e316093 + bd2af8b commit e80f3ce

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

security/ldap.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ An LDAP client can be configured using the built-in
7070
services:
7171
Symfony\Component\Ldap\Ldap:
7272
arguments: ['@Symfony\Component\Ldap\Adapter\ExtLdap\Adapter']
73+
tags:
74+
- ldap
7375
Symfony\Component\Ldap\Adapter\ExtLdap\Adapter:
7476
arguments:
7577
- host: my-server
@@ -90,6 +92,7 @@ An LDAP client can be configured using the built-in
9092
<services>
9193
<service id="Symfony\Component\Ldap\Ldap">
9294
<argument type="service" id="Symfony\Component\Ldap\Adapter\ExtLdap\Adapter"/>
95+
<tag name="ldap"/>
9396
</service>
9497
<service id="Symfony\Component\Ldap\Adapter\ExtLdap\Adapter">
9598
<argument type="collection">
@@ -112,7 +115,8 @@ An LDAP client can be configured using the built-in
112115
use Symfony\Component\Ldap\Ldap;
113116
114117
$container->register(Ldap::class)
115-
->addArgument(new Reference(Adapter::class));
118+
->addArgument(new Reference(Adapter::class))
119+
->tag('ldap');
116120
117121
$container
118122
->register(Adapter::class)

0 commit comments

Comments
 (0)