/** * Group constructor. * @param Model $Model * @param Tree $Tree * @param string|array $params */ public function __construct(Model $Model, Tree $Tree, $params) { $this->Model = $Model; $this->tree = $Tree->get(); $this->params = $params; }