Skip to content

Commit 2f1fc2d

Browse files
authored
Update page_creation.rst
making it friendlier to newbies
1 parent 0fce376 commit 2f1fc2d

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)