code: public function render() : void
      {
          $slugs = [];
  
          if ($this->recipeId)
          {
              $slugs = $this->recipeSlugRepository->findByRecipeId($this->recipeId);
          }
  
          $this->template->slugs = $slugs;
          $this->template->setFile(__DIR__ . '/templates/recipeSlugModal.latte');
          $this->template->render();
      }
docs: Render