4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\HttpKernel\EventListener;
14 @trigger_error('The '.__NAMESPACE__.'\EsiListener class is deprecated since version 2.6 and will be removed in 3.0. Use the Symfony\Component\HttpKernel\EventListener\SurrogateListener class instead.', E_USER_DEPRECATED);
17 * EsiListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for ESI.
19 * @author Fabien Potencier <fabien@symfony.com>
21 * @deprecated since version 2.6, to be removed in 3.0. Use SurrogateListener instead
23 class EsiListener extends SurrogateListener