/** * @param $id * @param $performanceId * @param $childId */ public function handleDeleteChild($id, $performanceId, $childId) { if ($id and $childId and $performanceId and $child = $this->childFacade->findChildById($childId)) { $this->childFacade->delete($child); } $this->flashMessage("Žák byl odebrán", "success"); $this->redirect("this"); }