Skip to content
Snippets Groups Projects
Commit 5675f809 authored by Aivaras Gotovskis's avatar Aivaras Gotovskis
Browse files

Add constructor arguments to ReverseNestedAggregation.

parent 284f6078
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,19 @@ class ReverseNestedAggregation extends AbstractAggregation
*/
private $path;
/**
* Inner aggregations container init.
*
* @param string $name
* @param string $path
*/
public function __construct($name, $path = null)
{
parent::__construct($name);
$this->setPath($path);
}
/**
* Return path.
*
......
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