diff --git a/src/Symfony/Component/Ldap/Entry.php b/src/Symfony/Component/Ldap/Entry.php index 17551a4f7a223..42745c2b8928c 100644 --- a/src/Symfony/Component/Ldap/Entry.php +++ b/src/Symfony/Component/Ldap/Entry.php @@ -35,6 +35,18 @@ public function getDn() return $this->dn; } + /** + * Returns whether an attribute exists. + * + * @param $name string The name of the attribute + * + * @return bool + */ + public function hasAttribute($name) + { + return isset($this->attributes[$name]); + } + /** * Returns a specific attribute's value. * pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy