public function fill()
    {
        $params          = array_merge($this->attributes, [
            'id'            => $this->id,
            'widget'        => $this->model,
            'name'          => $this->name,
            'title'         => strlen($this->title) > 0 ? $this->title : $this->name,
            'description'   => $this->description,
            'editable'      => $this->editable(),
            'widgets'       => $this->widgets,
            'template'      => $this->template,
            'only_template' => $this->renderOnlyWithTemplate
        ]);
        $reflectionClass = new ReflectionClass(get_called_class());
        if ($reflectionClass->getParentClass()->getName() === "Antares\UI\UIComponents\Templates\Datatables") {
            array_set($params, 'datatable', true);
        }
        array_set($params, 'content', $this->templateAdapter->share($params)->decorate($this->render()));
        return $params;
    }