public function setDn($dn = null)
    {
        $this->dn = $dn instanceof Model ? $dn->getDn() : $dn;

        return $this;
    }
public function setDn($dn = null)
    {
        $this->dn = $dn instanceof Model ? $dn->getDn() : $dn;

        return $this;
    }
public function setDn ( $ dn = null ) { $ this -> dn = $ dn instanceof Model ? $ dn -> getDn ( ) : $ dn ; return $ this ; }
Sets the DN to perform searches upon.

@param string|Model|null $dn

@return Builder
Sets the DN to perform searches upon .