public function deleteRow(array $row) { if (!isset($row['id'])) { throw new \InvalidArgumentException('$entity should contain ID key for delete action'); } $group = $this->groupRepository->find($row['id']); $this->groupRepository->delete($group); }
public function deleteRow(array $row) { if (!isset($row['id'])) { throw new \InvalidArgumentException('$entity should contain ID key for delete action'); } $group = $this->groupRepository->find($row['id']); $this->groupRepository->delete($group); }