summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Event/TerminateEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Event/TerminateEvent.php')
-rw-r--r--vendor/symfony/http-kernel/Event/TerminateEvent.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/symfony/http-kernel/Event/TerminateEvent.php b/vendor/symfony/http-kernel/Event/TerminateEvent.php
new file mode 100644
index 0000000000..6ce23e43f3
--- /dev/null
+++ b/vendor/symfony/http-kernel/Event/TerminateEvent.php
@@ -0,0 +1,24 @@
+<?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\Event;
+
+/**
+ * Allows to execute logic after a response was sent.
+ *
+ * Since it's only triggered on master requests, the `getRequestType()` method
+ * will always return the value of `HttpKernelInterface::MASTER_REQUEST`.
+ *
+ * @author Jordi Boggiano <j.boggiano@seld.be>
+ */
+class TerminateEvent extends PostResponseEvent
+{
+}