Skip to content

promote AbstractController in 4.2 branch #11171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion http_cache/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To see a simple implementation, generate the ETag as the md5 of the content::
// src/Controller/DefaultController.php
namespace App\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;

class DefaultController extends AbstractController
Expand Down
4 changes: 2 additions & 2 deletions routing/conditions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ define arbitrary matching logic, use the ``conditions`` routing option:
// src/Controller/DefaultController.php
namespace App\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Routing\Annotation\Route;

class DefaultController extends Controller
class DefaultController extends AbstractController
{
/**
* @Route(
Expand Down
4 changes: 2 additions & 2 deletions web_link.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ You can also add links to the HTTP response directly from controllers and servic

use Fig\Link\GenericLinkProvider;
use Fig\Link\Link;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;

class BlogController extends Controller
class BlogController extends AbstractController
{
public function index(Request $request)
{
Expand Down