Пример #1
0
 public function __construct(RoleDatatable $datatable, RoleForm $form, Role $model, LayoutManagerContract $layoutManager)
 {
     parent::__construct($model, $layoutManager);
     $this->datatable = $datatable;
     $this->form = $form;
 }
Пример #2
0
 public function __construct(PostDatatable $datatable, PostForm $form, \App\Post $model, LayoutManagerContract $layoutManager)
 {
     parent::__construct($model, $layoutManager);
     $this->datatable = $datatable;
     $this->form = $form;
 }