Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Application modulaire fonctionnelle !

Emmanuel ROY authored on 12/08/2019 15:10:25
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,24 +0,0 @@
1
-<?php
2
-
3
-namespace Symfony\Component\Debug\Tests\Fixtures;
4
-
5
-class ToStringThrower
6
-{
7
-    private $exception;
8
-
9
-    public function __construct(\Exception $e)
10
-    {
11
-        $this->exception = $e;
12
-    }
13
-
14
-    public function __toString()
15
-    {
16
-        try {
17
-            throw $this->exception;
18
-        } catch (\Exception $e) {
19
-            // Using user_error() here is on purpose so we do not forget
20
-            // that this alias also should work alongside with trigger_error().
21
-            return trigger_error($e, E_USER_ERROR);
22
-        }
23
-    }
24
-}
Browse code

initial commit

Emmanuel ROY authored on 09/08/2019 08:39:02
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,24 @@
1
+<?php
2
+
3
+namespace Symfony\Component\Debug\Tests\Fixtures;
4
+
5
+class ToStringThrower
6
+{
7
+    private $exception;
8
+
9
+    public function __construct(\Exception $e)
10
+    {
11
+        $this->exception = $e;
12
+    }
13
+
14
+    public function __toString()
15
+    {
16
+        try {
17
+            throw $this->exception;
18
+        } catch (\Exception $e) {
19
+            // Using user_error() here is on purpose so we do not forget
20
+            // that this alias also should work alongside with trigger_error().
21
+            return trigger_error($e, E_USER_ERROR);
22
+        }
23
+    }
24
+}