src/Component/Frontend/VariableSummaryModal/VariableSummaryModal.php
public function render() : void
    {
        if ($this->recipeId)
        {
            $this->recipe = $this->recipeRepository->findOneById($this->recipeId);
            $this->variables = $this->variableRepository->findByRecipe($this->recipe);
        }

        $this->template->recipe = $this->recipe;
        $this->template->variables = $this->variables;
        $this->template->setFile(__DIR__.'/templates/variableSummaryModal.latte');
        $this->template->render();
    }
public function render() : void
    {
        if ($this->recipeId)
        {
            $this->recipe = $this->recipeRepository->findOneById($this->recipeId);
            $this->variables = $this->variableRepository->findByRecipe($this->recipe);
        }

        $this->template->recipe = $this->recipe;
        $this->template->variables = $this->variables;
        $this->template->setFile(__DIR__.'/templates/variableSummaryModal.latte');
        $this->template->render();
    }
public function render ( ) : void { if ( $ this -> recipeId ) { $ this -> recipe = $ this -> recipeRepository -> findOneById ( $ this -> recipeId ) ; $ this -> variables = $ this -> variableRepository -> findByRecipe ( $ this -> recipe ) ; } $ this -> template -> recipe = $ this -> recipe ; $ this -> template -> variables = $ this -> variables ; $ this -> template -> setFile ( __DIR__ . '/templates/variableSummaryModal.latte' ) ; $ this -> template -> render ( ) ; }
Render
@throws \Propel\Runtime\Exception\PropelException
Render