public function setQuery($query, $baseDn)
    {
        $this->query = $query;
        $this->baseDn = $baseDn;

        $this->message = "No LDAP query results for filter: [{$query}] in: [{$baseDn}]";

        return $this;
    }
public function setQuery($query, $baseDn)
    {
        $this->query = $query;
        $this->baseDn = $baseDn;

        $this->message = "No LDAP query results for filter: [{$query}] in: [{$baseDn}]";

        return $this;
    }
public function setQuery ( $ query , $ baseDn ) { $ this -> query = $ query ; $ this -> baseDn = $ baseDn ; $ this -> message = "No LDAP query results for filter: [{$query}] in: [{$baseDn}]" ; return $ this ; }
Sets the query that was used.

@param string $query
@param string $baseDn

@return ModelNotFoundException
Sets the query that was used .