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,17 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Support\Traits;
4
-
5
-trait Tappable
6
-{
7
-    /**
8
-     * Call the given Closure with this instance then return the instance.
9
-     *
10
-     * @param  callable|null  $callback
11
-     * @return mixed
12
-     */
13
-    public function tap($callback = null)
14
-    {
15
-        return tap($this, $callback);
16
-    }
17
-}
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,17 @@
1
+<?php
2
+
3
+namespace Illuminate\Support\Traits;
4
+
5
+trait Tappable
6
+{
7
+    /**
8
+     * Call the given Closure with this instance then return the instance.
9
+     *
10
+     * @param  callable|null  $callback
11
+     * @return mixed
12
+     */
13
+    public function tap($callback = null)
14
+    {
15
+        return tap($this, $callback);
16
+    }
17
+}