Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1cc4df1

Browse filesBrowse 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
Copy full SHA for 1cc4df1

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎page_creation.rst

Copy file name to clipboardExpand all lines: page_creation.rst
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.