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,46 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Support;
4
-
5
-use Illuminate\Contracts\Support\Htmlable;
6
-
7
-class HtmlString implements Htmlable
8
-{
9
-    /**
10
-     * The HTML string.
11
-     *
12
-     * @var string
13
-     */
14
-    protected $html;
15
-
16
-    /**
17
-     * Create a new HTML string instance.
18
-     *
19
-     * @param  string  $html
20
-     * @return void
21
-     */
22
-    public function __construct($html)
23
-    {
24
-        $this->html = $html;
25
-    }
26
-
27
-    /**
28
-     * Get the HTML string.
29
-     *
30
-     * @return string
31
-     */
32
-    public function toHtml()
33
-    {
34
-        return $this->html;
35
-    }
36
-
37
-    /**
38
-     * Get the HTML string.
39
-     *
40
-     * @return string
41
-     */
42
-    public function __toString()
43
-    {
44
-        return $this->toHtml();
45
-    }
46
-}
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,46 @@
1
+<?php
2
+
3
+namespace Illuminate\Support;
4
+
5
+use Illuminate\Contracts\Support\Htmlable;
6
+
7
+class HtmlString implements Htmlable
8
+{
9
+    /**
10
+     * The HTML string.
11
+     *
12
+     * @var string
13
+     */
14
+    protected $html;
15
+
16
+    /**
17
+     * Create a new HTML string instance.
18
+     *
19
+     * @param  string  $html
20
+     * @return void
21
+     */
22
+    public function __construct($html)
23
+    {
24
+        $this->html = $html;
25
+    }
26
+
27
+    /**
28
+     * Get the HTML string.
29
+     *
30
+     * @return string
31
+     */
32
+    public function toHtml()
33
+    {
34
+        return $this->html;
35
+    }
36
+
37
+    /**
38
+     * Get the HTML string.
39
+     *
40
+     * @return string
41
+     */
42
+    public function __toString()
43
+    {
44
+        return $this->toHtml();
45
+    }
46
+}