Skip to content
Snippets Groups Projects
Commit 73a1b123 authored by Hossein Taghi-Zadeh's avatar Hossein Taghi-Zadeh Committed by Simonas Šerlinskas
Browse files

Add getQuery Method to FunctionScoreQuery (#271)

* Add getQuery Method to FunctionScoreQuery

Add getQuery Method to FunctionScoreQuery in order to apply changes to query of FunctionScoreQuery.

* Update FunctionScoreQuery.php
parent 7cfc0749
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,16 @@ class FunctionScoreQuery implements BuilderInterface
{
$this->query = $query;
$this->setParameters($parameters);
}
/**
* Returns the query instance.
*
* @return BuilderInterface object
*/
public function getQuery()
{
return $this->query;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment