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,45 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Support\Facades;
4
-
5
-use Illuminate\Support\Testing\Fakes\QueueFake;
6
-
7
-/**
8
- * @method static int size(string $queue = null)
9
- * @method static mixed push(string|object $job, mixed $data = '', $queue = null)
10
- * @method static mixed pushOn(string $queue, string|object $job, mixed $data = '')
11
- * @method static mixed pushRaw(string $payload, string $queue = null, array $options = [])
12
- * @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '', string $queue = null)
13
- * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '')
14
- * @method static mixed bulk(array $jobs, mixed $data = '', string $queue = null)
15
- * @method static \Illuminate\Contracts\Queue\Job|null pop(string $queue = null)
16
- * @method static string getConnectionName()
17
- * @method static \Illuminate\Contracts\Queue\Queue setConnectionName(string $name)
18
- *
19
- * @see \Illuminate\Queue\QueueManager
20
- * @see \Illuminate\Queue\Queue
21
- */
22
-class Queue extends Facade
23
-{
24
-    /**
25
-     * Replace the bound instance with a fake.
26
-     *
27
-     * @return \Illuminate\Support\Testing\Fakes\QueueFake
28
-     */
29
-    public static function fake()
30
-    {
31
-        static::swap($fake = new QueueFake(static::getFacadeApplication()));
32
-
33
-        return $fake;
34
-    }
35
-
36
-    /**
37
-     * Get the registered name of the component.
38
-     *
39
-     * @return string
40
-     */
41
-    protected static function getFacadeAccessor()
42
-    {
43
-        return 'queue';
44
-    }
45
-}
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,45 @@
1
+<?php
2
+
3
+namespace Illuminate\Support\Facades;
4
+
5
+use Illuminate\Support\Testing\Fakes\QueueFake;
6
+
7
+/**
8
+ * @method static int size(string $queue = null)
9
+ * @method static mixed push(string|object $job, mixed $data = '', $queue = null)
10
+ * @method static mixed pushOn(string $queue, string|object $job, mixed $data = '')
11
+ * @method static mixed pushRaw(string $payload, string $queue = null, array $options = [])
12
+ * @method static mixed later(\DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '', string $queue = null)
13
+ * @method static mixed laterOn(string $queue, \DateTimeInterface|\DateInterval|int $delay, string|object $job, mixed $data = '')
14
+ * @method static mixed bulk(array $jobs, mixed $data = '', string $queue = null)
15
+ * @method static \Illuminate\Contracts\Queue\Job|null pop(string $queue = null)
16
+ * @method static string getConnectionName()
17
+ * @method static \Illuminate\Contracts\Queue\Queue setConnectionName(string $name)
18
+ *
19
+ * @see \Illuminate\Queue\QueueManager
20
+ * @see \Illuminate\Queue\Queue
21
+ */
22
+class Queue extends Facade
23
+{
24
+    /**
25
+     * Replace the bound instance with a fake.
26
+     *
27
+     * @return \Illuminate\Support\Testing\Fakes\QueueFake
28
+     */
29
+    public static function fake()
30
+    {
31
+        static::swap($fake = new QueueFake(static::getFacadeApplication()));
32
+
33
+        return $fake;
34
+    }
35
+
36
+    /**
37
+     * Get the registered name of the component.
38
+     *
39
+     * @return string
40
+     */
41
+    protected static function getFacadeAccessor()
42
+    {
43
+        return 'queue';
44
+    }
45
+}