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,40 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Contracts\Pipeline;
4
-
5
-use Closure;
6
-
7
-interface Pipeline
8
-{
9
-    /**
10
-     * Set the traveler object being sent on the pipeline.
11
-     *
12
-     * @param  mixed  $traveler
13
-     * @return $this
14
-     */
15
-    public function send($traveler);
16
-
17
-    /**
18
-     * Set the stops of the pipeline.
19
-     *
20
-     * @param  dynamic|array  $stops
21
-     * @return $this
22
-     */
23
-    public function through($stops);
24
-
25
-    /**
26
-     * Set the method to call on the stops.
27
-     *
28
-     * @param  string  $method
29
-     * @return $this
30
-     */
31
-    public function via($method);
32
-
33
-    /**
34
-     * Run the pipeline with a final destination callback.
35
-     *
36
-     * @param  \Closure  $destination
37
-     * @return mixed
38
-     */
39
-    public function then(Closure $destination);
40
-}
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,40 @@
1
+<?php
2
+
3
+namespace Illuminate\Contracts\Pipeline;
4
+
5
+use Closure;
6
+
7
+interface Pipeline
8
+{
9
+    /**
10
+     * Set the traveler object being sent on the pipeline.
11
+     *
12
+     * @param  mixed  $traveler
13
+     * @return $this
14
+     */
15
+    public function send($traveler);
16
+
17
+    /**
18
+     * Set the stops of the pipeline.
19
+     *
20
+     * @param  dynamic|array  $stops
21
+     * @return $this
22
+     */
23
+    public function through($stops);
24
+
25
+    /**
26
+     * Set the method to call on the stops.
27
+     *
28
+     * @param  string  $method
29
+     * @return $this
30
+     */
31
+    public function via($method);
32
+
33
+    /**
34
+     * Run the pipeline with a final destination callback.
35
+     *
36
+     * @param  \Closure  $destination
37
+     * @return mixed
38
+     */
39
+    public function then(Closure $destination);
40
+}