8000 minor #12501 Added namespace for example controller (TheGarious) · symfony/symfony-docs@1cc4df1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cc4df1

Browse files
committed
minor #12501 Added namespace for example controller (TheGarious)
This PR was squashed before being merged into the 4.3 branch (closes #12501). Discussion ---------- Added namespace for example controller I have a question. Do i need added "<?php" for each example function in php in this docs ? If yes, i create a new PR with all example with added <?php for each php example. Thanks Commits ------- 1f88d28 Added namespace for example controller
2 parents b16f8eb + 1f88d28 commit 1cc4df1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

page_creation.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ Now, use the handy ``render()`` function to render a template. Pass it a ``numbe
217217
variable so you can use it in Twig::
218218

219219
// src/Controller/LuckyController.php
220+
namespace App\Controller;
220221

221222
// ...
222223
class LuckyController extends AbstractController

0 commit comments

Comments
 (0)
0