initial commit
This commit is contained in:
1 parent
a783a12c97
commit
c7770ea03b
4695 files changed
+525784
No files matched your search
Whitespace-only changes.
@@ -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');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
|
||||
use Symfony\Component\HttpKernel\Kernel as BaseKernel;
|
||||
|
||||
class Kernel extends BaseKernel
|
||||
{
|
||||
use MicroKernelTrait;
|
||||
}
|
||||
Reference in new issue
Block a user