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,36 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Support\Facades;
4
-
5
-use Illuminate\Contracts\Auth\Access\Gate as GateContract;
6
-
7
-/**
8
- * @method static bool has(string $ability)
9
- * @method static \Illuminate\Contracts\Auth\Access\Gate define(string $ability, callable|string $callback)
10
- * @method static \Illuminate\Contracts\Auth\Access\Gate policy(string $class, string $policy)
11
- * @method static \Illuminate\Contracts\Auth\Access\Gate before(callable $callback)
12
- * @method static \Illuminate\Contracts\Auth\Access\Gate after(callable $callback)
13
- * @method static bool allows(string $ability, array|mixed $arguments = [])
14
- * @method static bool denies(string $ability, array|mixed $arguments = [])
15
- * @method static bool check(iterable|string $abilities, array|mixed $arguments = [])
16
- * @method static bool any(iterable|string $abilities, array|mixed $arguments = [])
17
- * @method static \Illuminate\Auth\Access\Response authorize(string $ability, array|mixed $arguments = [])
18
- * @method static mixed raw(string $ability, array|mixed $arguments = [])
19
- * @method static mixed getPolicyFor(object|string $class)
20
- * @method static \Illuminate\Contracts\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user)
21
- * @method static array abilities()
22
- *
23
- * @see \Illuminate\Contracts\Auth\Access\Gate
24
- */
25
-class Gate extends Facade
26
-{
27
-    /**
28
-     * Get the registered name of the component.
29
-     *
30
-     * @return string
31
-     */
32
-    protected static function getFacadeAccessor()
33
-    {
34
-        return GateContract::class;
35
-    }
36
-}
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,36 @@
1
+<?php
2
+
3
+namespace Illuminate\Support\Facades;
4
+
5
+use Illuminate\Contracts\Auth\Access\Gate as GateContract;
6
+
7
+/**
8
+ * @method static bool has(string $ability)
9
+ * @method static \Illuminate\Contracts\Auth\Access\Gate define(string $ability, callable|string $callback)
10
+ * @method static \Illuminate\Contracts\Auth\Access\Gate policy(string $class, string $policy)
11
+ * @method static \Illuminate\Contracts\Auth\Access\Gate before(callable $callback)
12
+ * @method static \Illuminate\Contracts\Auth\Access\Gate after(callable $callback)
13
+ * @method static bool allows(string $ability, array|mixed $arguments = [])
14
+ * @method static bool denies(string $ability, array|mixed $arguments = [])
15
+ * @method static bool check(iterable|string $abilities, array|mixed $arguments = [])
16
+ * @method static bool any(iterable|string $abilities, array|mixed $arguments = [])
17
+ * @method static \Illuminate\Auth\Access\Response authorize(string $ability, array|mixed $arguments = [])
18
+ * @method static mixed raw(string $ability, array|mixed $arguments = [])
19
+ * @method static mixed getPolicyFor(object|string $class)
20
+ * @method static \Illuminate\Contracts\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user)
21
+ * @method static array abilities()
22
+ *
23
+ * @see \Illuminate\Contracts\Auth\Access\Gate
24
+ */
25
+class Gate extends Facade
26
+{
27
+    /**
28
+     * Get the registered name of the component.
29
+     *
30
+     * @return string
31
+     */
32
+    protected static function getFacadeAccessor()
33
+    {
34
+        return GateContract::class;
35
+    }
36
+}