Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b748f commit 67077c1Copy full SHA for 67077c1
src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Fixtures/ExceptionListener.php
@@ -4,6 +4,15 @@
4
5
use Symfony\Component\HttpKernel\Event\ExceptionEvent;
6
7
+/**
8
+ * This listener allows you to inspect all exceptions thrown by the application.
9
+ * This is useful since the HttpKernel catches all exceptions and turn them into
10
+ * an HTTP response.
11
+ *
12
+ * This class should only be used in tests.
13
14
+ * @author Tobias Nyholm <[email protected]>
15
+ */
16
class ExceptionListener
17
{
18
private static array $exceptions = [];
0 commit comments