src/LdapTools/Object/LdapObject.php
public function get($attribute, $default = null)
    {
        return $this->has($attribute) ? array_change_key_case($this->attributes)[strtolower($attribute)] : $default;
    }
public function get($attribute, $default = null)
    {
        return $this->has($attribute) ? array_change_key_case($this->attributes)[strtolower($attribute)] : $default;
    }
public function get ( $ attribute , $ default = null ) { return $ this -> has ( $ attribute ) ? array_change_key_case ( $ this -> attributes ) [ strtolower ( $ attribute ) ] : $ default ; }
Get the value of an attribute. An attribute with multiple values will return an array of values. If the attribute
does not exist it will return null by default. Pass an optional default value to return something other than null.

@param string $attribute
@param mixed $default
@return mixed
Get the value of an attribute . An attribute with multiple values will return an array of values . If the attribute does not exist it will return null by default . Pass an optional default value to return something other than null .