src/Classes/AdldapSearch.php
public function setDn($dn)
    {
        if ($dn === null) {
            $this->dn = null;
        } else {
            $this->dn = (string) $dn;
        }

        return $this;
    }
public function setDn($dn)
    {
        if ($dn === null) {
            $this->dn = null;
        } else {
            $this->dn = (string) $dn;
        }

        return $this;
    }
public function setDn ( $ dn ) { if ( $ dn === null ) { $ this -> dn = null ; } else { $ this -> dn = ( string ) $ dn ; } return $ this ; }
Sets the complete distinguished name to search on.

@param string $dn

@return $this
Sets the complete distinguished name to search on .