[FrameworkBundle] Fix Controller deprecated when using composer --optimized
Update Controller.php Update Controller.php
This commit is contained in:
parent
bbad6e8e58
commit
2ae2fd800d
@ -14,14 +14,12 @@ namespace Symfony\Bundle\FrameworkBundle\Controller;
|
|||||||
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
|
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
|
||||||
|
|
||||||
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.2, use %s instead.', Controller::class, AbstractController::class), E_USER_DEPRECATED);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller is a simple implementation of a Controller.
|
* Controller is a simple implementation of a Controller.
|
||||||
*
|
*
|
||||||
* It provides methods to common features needed in controllers.
|
* It provides methods to common features needed in controllers.
|
||||||
*
|
*
|
||||||
* @deprecated since Symfony 4.2, use {@see AbstractController} instead.
|
* @deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead.
|
||||||
*
|
*
|
||||||
* @author Fabien Potencier <fabien@symfony.com>
|
* @author Fabien Potencier <fabien@symfony.com>
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user