We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33550f5 + 676c1fc commit 0cde555Copy full SHA for 0cde555
components/ldap.rst
@@ -126,7 +126,7 @@ delete existing ones::
126
$query = $ldap->query('dc=symfony,dc=com', '(&(objectclass=person)(ou=Maintainers))');
127
$result = $query->execute();
128
$entry = $result[0];
129
- $entry->addAttribute('email', array('fabpot@symfony.com'));
+ $entry->setAttribute('email', array('fabpot@symfony.com'));
130
$em->update($entry);
131
132
// Removing an existing entry
0 commit comments