mirror of
https://github.com/symfony/framework-bundle.git
synced 2026-03-24 01:12:20 +01:00
26 lines
654 B
PHP
26 lines
654 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Symfony\Bundle\FrameworkBundle\Tests\Kernel;
|
|
|
|
use Symfony\Component\HttpFoundation\Response;
|
|
use Symfony\Component\Routing\Attribute\Route;
|
|
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
|
|
|
final class SimpleKernel extends MinimalKernel
|
|
{
|
|
#[Route('/')]
|
|
public function __invoke(UrlGeneratorInterface $urlGenerator): Response
|
|
{
|
|
return new Response('Hello World!');
|
|
}
|
|
}
|