public function findQuery($strQuery)
    {
        foreach ($this->queries as $query) {
            if ($query->matches($strQuery)) {
                return $query;
            }
        }

        return null;
    }