summaryrefslogtreecommitdiff
path: root/vendor/symfony/debug/Tests/MockExceptionHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/debug/Tests/MockExceptionHandler.php')
-rw-r--r--vendor/symfony/debug/Tests/MockExceptionHandler.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/symfony/debug/Tests/MockExceptionHandler.php b/vendor/symfony/debug/Tests/MockExceptionHandler.php
new file mode 100644
index 00000000..2d6ce564
--- /dev/null
+++ b/vendor/symfony/debug/Tests/MockExceptionHandler.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\Debug\Tests;
+
+use Symfony\Component\Debug\ExceptionHandler;
+
+class MockExceptionHandler extends ExceptionHandler
+{
+ public $e;
+
+ public function handle(\Exception $e)
+ {
+ $this->e = $e;
+ }
+}