src/Connections/Ldap.php
public function setOption($option, $value)
    {
        if ($this->suppressErrors) {
            return @ldap_set_option($this->getConnection(), $option, $value);
        }

        return ldap_set_option($this->getConnection(), $option, $value);
    }
public function setOption($option, $value)
    {
        if ($this->suppressErrors) {
            return @ldap_set_option($this->getConnection(), $option, $value);
        }

        return ldap_set_option($this->getConnection(), $option, $value);
    }
public function setOption ( $ option , $ value ) { if ( $ this -> suppressErrors ) { return @ ldap_set_option ( $ this -> getConnection ( ) , $ option , $ value ) ; } return ldap_set_option ( $ this -> getConnection ( ) , $ option , $ value ) ; }
Sets an option and value on the current
LDAP connection.

@param int   $option
@param mixed $value

@return bool
Sets an option and value on the current LDAP connection .