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,52 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Support\Facades;
4
-
5
-use Illuminate\Notifications\ChannelManager;
6
-use Illuminate\Notifications\AnonymousNotifiable;
7
-use Illuminate\Support\Testing\Fakes\NotificationFake;
8
-
9
-/**
10
- * @method static void send(\Illuminate\Support\Collection|array|mixed $notifiables, $notification)
11
- * @method static void sendNow(\Illuminate\Support\Collection|array|mixed $notifiables, $notification)
12
- * @method static mixed channel(string|null $name = null)
13
- * @method static \Illuminate\Notifications\ChannelManager locale(string|null $locale)
14
- *
15
- * @see \Illuminate\Notifications\ChannelManager
16
- */
17
-class Notification extends Facade
18
-{
19
-    /**
20
-     * Replace the bound instance with a fake.
21
-     *
22
-     * @return \Illuminate\Support\Testing\Fakes\NotificationFake
23
-     */
24
-    public static function fake()
25
-    {
26
-        static::swap($fake = new NotificationFake);
27
-
28
-        return $fake;
29
-    }
30
-
31
-    /**
32
-     * Begin sending a notification to an anonymous notifiable.
33
-     *
34
-     * @param  string  $channel
35
-     * @param  mixed  $route
36
-     * @return \Illuminate\Notifications\AnonymousNotifiable
37
-     */
38
-    public static function route($channel, $route)
39
-    {
40
-        return (new AnonymousNotifiable)->route($channel, $route);
41
-    }
42
-
43
-    /**
44
-     * Get the registered name of the component.
45
-     *
46
-     * @return string
47
-     */
48
-    protected static function getFacadeAccessor()
49
-    {
50
-        return ChannelManager::class;
51
-    }
52
-}
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,52 @@
1
+<?php
2
+
3
+namespace Illuminate\Support\Facades;
4
+
5
+use Illuminate\Notifications\ChannelManager;
6
+use Illuminate\Notifications\AnonymousNotifiable;
7
+use Illuminate\Support\Testing\Fakes\NotificationFake;
8
+
9
+/**
10
+ * @method static void send(\Illuminate\Support\Collection|array|mixed $notifiables, $notification)
11
+ * @method static void sendNow(\Illuminate\Support\Collection|array|mixed $notifiables, $notification)
12
+ * @method static mixed channel(string|null $name = null)
13
+ * @method static \Illuminate\Notifications\ChannelManager locale(string|null $locale)
14
+ *
15
+ * @see \Illuminate\Notifications\ChannelManager
16
+ */
17
+class Notification extends Facade
18
+{
19
+    /**
20
+     * Replace the bound instance with a fake.
21
+     *
22
+     * @return \Illuminate\Support\Testing\Fakes\NotificationFake
23
+     */
24
+    public static function fake()
25
+    {
26
+        static::swap($fake = new NotificationFake);
27
+
28
+        return $fake;
29
+    }
30
+
31
+    /**
32
+     * Begin sending a notification to an anonymous notifiable.
33
+     *
34
+     * @param  string  $channel
35
+     * @param  mixed  $route
36
+     * @return \Illuminate\Notifications\AnonymousNotifiable
37
+     */
38
+    public static function route($channel, $route)
39
+    {
40
+        return (new AnonymousNotifiable)->route($channel, $route);
41
+    }
42
+
43
+    /**
44
+     * Get the registered name of the component.
45
+     *
46
+     * @return string
47
+     */
48
+    protected static function getFacadeAccessor()
49
+    {
50
+        return ChannelManager::class;
51
+    }
52
+}