Skip to content

Commit 191ac3e

Browse files
committed
always use AbstractController
1 parent 5f178a3 commit 191ac3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resources/skeleton/controller/Controller.tpl.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace <?= $namespace; ?>;
44

5-
use Symfony\Bundle\FrameworkBundle\Controller\<?= $parent_class_name; ?>;
5+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
66
use Symfony\Component\HttpFoundation\Response;
77
use Symfony\Component\Routing\Annotation\Route;
88

9-
class <?= $class_name; ?> extends <?= $parent_class_name; ?><?= "\n" ?>
9+
class <?= $class_name; ?> extends AbstractController
1010
{
1111
<?= $generator->generateRouteForControllerMethod($route_path, $route_name); ?>
1212
public function index(): Response

0 commit comments

Comments
 (0)