Skip to content

Commit b6ab4fa

Browse files
committed
promote AbstractController in 4.2 branch
1 parent 3ac87ca commit b6ab4fa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

http_cache/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To see a simple implementation, generate the ETag as the md5 of the content::
6262
// src/Controller/DefaultController.php
6363
namespace App\Controller;
6464

65-
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
65+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
6666
use Symfony\Component\HttpFoundation\Request;
6767

6868
class DefaultController extends AbstractController

routing/conditions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ define arbitrary matching logic, use the ``conditions`` routing option:
1515
// src/Controller/DefaultController.php
1616
namespace App\Controller;
1717
18-
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
18+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
1919
use Symfony\Component\Routing\Annotation\Route;
2020
21-
class DefaultController extends Controller
21+
class DefaultController extends AbstractController
2222
{
2323
/**
2424
* @Route(

web_link.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ You can also add links to the HTTP response directly from controllers and servic
153153

154154
use Fig\Link\GenericLinkProvider;
155155
use Fig\Link\Link;
156-
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
156+
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
157157
use Symfony\Component\HttpFoundation\Request;
158158

159-
class BlogController extends Controller
159+
class BlogController extends AbstractController
160160
{
161161
public function index(Request $request)
162162
{

0 commit comments

Comments
 (0)