Version 1
[yaffs-website] / vendor / symfony / http-kernel / EventListener / EsiListener.php
diff --git a/vendor/symfony/http-kernel/EventListener/EsiListener.php b/vendor/symfony/http-kernel/EventListener/EsiListener.php
new file mode 100644 (file)
index 0000000..bceb672
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+/*
+ * This file is part of the Symfony package.
+ *
+ * (c) Fabien Potencier <fabien@symfony.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
+namespace Symfony\Component\HttpKernel\EventListener;
+
+@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);
+
+/**
+ * EsiListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for ESI.
+ *
+ * @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @deprecated since version 2.6, to be removed in 3.0. Use SurrogateListener instead
+ */
+class EsiListener extends SurrogateListener
+{
+}