Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $app->get('/steps', function($request, $response, $args){
- $steps = "oui";
- $context = ["name" => "7 étapes de la bière",
- "desc" => "Créez votre propre bière",
- "steps" => [
- "1" => "Le maltage",
- "2" => "La saccharification",
- "3" => "Ebullition",
- "4" => "La fermentation",
- "5" => "La garde",
- "6" => "Le conditionnement"
- ]
- ];
- echo "<pre>";
- var_dump($steps);
- echo "</pre>";
- return $this->view->render($response, 'steps.html', $context);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement