Skip to content

Commit a805839

Browse files
committed
Merge branch '3.4' into 4.2
* 3.4: Added php opening tag to sample controller
2 parents f870911 + 6b20ee8 commit a805839

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

47+
<?php
4748
// src/Controller/LuckyController.php
4849
namespace App\Controller;
4950

0 commit comments

Comments
 (0)