initial commit
This commit is contained in:
0
src/Controller/.gitignore
vendored
Normal file
0
src/Controller/.gitignore
vendored
Normal file
19
src/Controller/DefaultController.php
Normal file
19
src/Controller/DefaultController.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
class DefaultController
|
||||
|
||||
{
|
||||
|
||||
public function about()
|
||||
|
||||
{
|
||||
|
||||
return new Response('About page – produced by my first Symfony controller');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user