[FrameworkBundle] Fix Controller deprecated when using composer --optimized

Update Controller.php
Update Controller.php
This commit is contained in:
Александр Ли 2019-04-08 12:19:48 +05:00
parent bbad6e8e58
commit 2ae2fd800d
1 changed files with 1 additions and 3 deletions

View File

@ -14,14 +14,12 @@ namespace Symfony\Bundle\FrameworkBundle\Controller;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
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.
*
* 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>
*/