Dreamscapes/Ldap/Core/Ldap.php
public function setOption($option, $newVal)
    {
        @ldap_set_option($this->resource, $option, $newVal);
        $this->verifyOperation();

        return $this;
    }
public function setOption($option, $newVal)
    {
        @ldap_set_option($this->resource, $option, $newVal);
        $this->verifyOperation();

        return $this;
    }
Set the value of the given option

@param  integer $option An lDAP option constant
@param  mixed   $newVal The new value for the option
@return self