Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67077c1

Browse files
committed
Added a small comment
1 parent 20b748f commit 67077c1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/Functional/Fixtures/ExceptionListener.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
use Symfony\Component\HttpKernel\Event\ExceptionEvent;
66

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+
*/
716
class ExceptionListener
817
{
918
private static array $exceptions = [];

0 commit comments

Comments
 (0)