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

Add add type argument to children aggregation.

parent 73b5349b
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,17 @@ class ChildrenAggregation extends AbstractAggregation
return $this->children;
}
/**
* @param string $name
* @param string $children
*/
public function __construct($name, $children = null)
{
parent::__construct($name);
$this->setChildren($children);
}
/**
* Sets children.
*
......
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