src/Component/Frontend/RecipeRemoveModal/RecipeRemoveModal.php
public function handleOpen(int $id) : void
    {
        if ($this->presenter->isAjax())
        {
            $this->recipeEntity = $this->recipeRepository->findOneById($id);

            $this->presenter->handleModalToggle('show', '#wakers_structure_recipe_remove_modal', FALSE);
            $this->onOpen();
        }
    }
public function handleOpen(int $id) : void
    {
        if ($this->presenter->isAjax())
        {
            $this->recipeEntity = $this->recipeRepository->findOneById($id);

            $this->presenter->handleModalToggle('show', '#wakers_structure_recipe_remove_modal', FALSE);
            $this->onOpen();
        }
    }
Handler pro otevření modálního okna
@param int $id