Пример #1
0
 public function save()
 {
     $this->group->setName($this->request->input('name'));
     Group::save($this->group);
 }
Пример #2
0
 public function update(Request $request, GroupModel $group)
 {
     $group->setName($request->input('name'));
     GroupFacade::save($group);
 }