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,41 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Support\Facades;
4
-
5
-use Illuminate\Support\Testing\Fakes\BusFake;
6
-use Illuminate\Contracts\Bus\Dispatcher as BusDispatcherContract;
7
-
8
-/**
9
- * @method static mixed dispatch($command)
10
- * @method static mixed dispatchNow($command, $handler = null)
11
- * @method static bool hasCommandHandler($command)
12
- * @method static bool|mixed getCommandHandler($command)
13
- * @method static \Illuminate\Contracts\Bus\Dispatcher pipeThrough(array $pipes)
14
- * @method static \Illuminate\Contracts\Bus\Dispatcher map(array $map)
15
- *
16
- * @see \Illuminate\Contracts\Bus\Dispatcher
17
- */
18
-class Bus extends Facade
19
-{
20
-    /**
21
-     * Replace the bound instance with a fake.
22
-     *
23
-     * @return \Illuminate\Support\Testing\Fakes\BusFake
24
-     */
25
-    public static function fake()
26
-    {
27
-        static::swap($fake = new BusFake);
28
-
29
-        return $fake;
30
-    }
31
-
32
-    /**
33
-     * Get the registered name of the component.
34
-     *
35
-     * @return string
36
-     */
37
-    protected static function getFacadeAccessor()
38
-    {
39
-        return BusDispatcherContract::class;
40
-    }
41
-}
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,41 @@
1
+<?php
2
+
3
+namespace Illuminate\Support\Facades;
4
+
5
+use Illuminate\Support\Testing\Fakes\BusFake;
6
+use Illuminate\Contracts\Bus\Dispatcher as BusDispatcherContract;
7
+
8
+/**
9
+ * @method static mixed dispatch($command)
10
+ * @method static mixed dispatchNow($command, $handler = null)
11
+ * @method static bool hasCommandHandler($command)
12
+ * @method static bool|mixed getCommandHandler($command)
13
+ * @method static \Illuminate\Contracts\Bus\Dispatcher pipeThrough(array $pipes)
14
+ * @method static \Illuminate\Contracts\Bus\Dispatcher map(array $map)
15
+ *
16
+ * @see \Illuminate\Contracts\Bus\Dispatcher
17
+ */
18
+class Bus extends Facade
19
+{
20
+    /**
21
+     * Replace the bound instance with a fake.
22
+     *
23
+     * @return \Illuminate\Support\Testing\Fakes\BusFake
24
+     */
25
+    public static function fake()
26
+    {
27
+        static::swap($fake = new BusFake);
28
+
29
+        return $fake;
30
+    }
31
+
32
+    /**
33
+     * Get the registered name of the component.
34
+     *
35
+     * @return string
36
+     */
37
+    protected static function getFacadeAccessor()
38
+    {
39
+        return BusDispatcherContract::class;
40
+    }
41
+}