Skip to content

Commit 382a97d

Browse files
committed
minor #18869 Update page_creation.rst (aliber4079)
This PR was merged into the 6.3 branch. Discussion ---------- Update page_creation.rst making it friendlier to newbies <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 2f1fc2d Update page_creation.rst
2 parents 0fce376 + 2f1fc2d commit 382a97d

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
@@ -38,6 +38,7 @@ Suppose you want to create a page - ``/lucky/number`` - that generates a lucky (
3838
random) number and prints it. To do that, create a "Controller" class and a
3939
"controller" method inside of it::
4040

41+
<?php
4142
// src/Controller/LuckyController.php
4243
namespace App\Controller;
4344

0 commit comments

Comments
 (0)