1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,36 +0,0 @@ |
1 |
-<?php |
|
2 |
- |
|
3 |
-/* |
|
4 |
- * This file is part of the Symfony package. |
|
5 |
- * |
|
6 |
- * (c) Fabien Potencier <fabien@symfony.com> |
|
7 |
- * |
|
8 |
- * For the full copyright and license information, please view the LICENSE |
|
9 |
- * file that was distributed with this source code. |
|
10 |
- */ |
|
11 |
- |
|
12 |
-namespace Symfony\Component\Debug\Exception; |
|
13 |
- |
|
14 |
-/** |
|
15 |
- * Class (or Trait or Interface) Not Found Exception. |
|
16 |
- * |
|
17 |
- * @author Konstanton Myakshin <koc-dp@yandex.ru> |
|
18 |
- */ |
|
19 |
-class ClassNotFoundException extends FatalErrorException |
|
20 |
-{ |
|
21 |
- public function __construct(string $message, \ErrorException $previous) |
|
22 |
- { |
|
23 |
- parent::__construct( |
|
24 |
- $message, |
|
25 |
- $previous->getCode(), |
|
26 |
- $previous->getSeverity(), |
|
27 |
- $previous->getFile(), |
|
28 |
- $previous->getLine(), |
|
29 |
- null, |
|
30 |
- true, |
|
31 |
- null, |
|
32 |
- $previous->getPrevious() |
|
33 |
- ); |
|
34 |
- $this->setTrace($previous->getTrace()); |
|
35 |
- } |
|
36 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,36 @@ |
1 |
+<?php |
|
2 |
+ |
|
3 |
+/* |
|
4 |
+ * This file is part of the Symfony package. |
|
5 |
+ * |
|
6 |
+ * (c) Fabien Potencier <fabien@symfony.com> |
|
7 |
+ * |
|
8 |
+ * For the full copyright and license information, please view the LICENSE |
|
9 |
+ * file that was distributed with this source code. |
|
10 |
+ */ |
|
11 |
+ |
|
12 |
+namespace Symfony\Component\Debug\Exception; |
|
13 |
+ |
|
14 |
+/** |
|
15 |
+ * Class (or Trait or Interface) Not Found Exception. |
|
16 |
+ * |
|
17 |
+ * @author Konstanton Myakshin <koc-dp@yandex.ru> |
|
18 |
+ */ |
|
19 |
+class ClassNotFoundException extends FatalErrorException |
|
20 |
+{ |
|
21 |
+ public function __construct(string $message, \ErrorException $previous) |
|
22 |
+ { |
|
23 |
+ parent::__construct( |
|
24 |
+ $message, |
|
25 |
+ $previous->getCode(), |
|
26 |
+ $previous->getSeverity(), |
|
27 |
+ $previous->getFile(), |
|
28 |
+ $previous->getLine(), |
|
29 |
+ null, |
|
30 |
+ true, |
|
31 |
+ null, |
|
32 |
+ $previous->getPrevious() |
|
33 |
+ ); |
|
34 |
+ $this->setTrace($previous->getTrace()); |
|
35 |
+ } |
|
36 |
+} |