code: public function render() : void
      {
          if ($this->recipeId && !$this->recipe)
          {
              $this->recipe = $this->recipeRepository->findOneById($this->recipeId);
          }
  
          $this->template->recipe = $this->recipe;
          $this->template->setFile(__DIR__.'/templates/variableModal.latte');
          $this->template->render();
      }
docs: Render