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,43 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Support\Facades;
4
-
5
-/**
6
- * @method static \Illuminate\Database\Schema\Builder create(string $table, \Closure $callback)
7
- * @method static \Illuminate\Database\Schema\Builder drop(string $table)
8
- * @method static \Illuminate\Database\Schema\Builder dropIfExists(string $table)
9
- * @method static \Illuminate\Database\Schema\Builder table(string $table, \Closure $callback)
10
- * @method static \Illuminate\Database\Schema\Builder rename(string $from, string $to)
11
- * @method static void defaultStringLength(int $length)
12
- * @method static bool hasTable(string $table)
13
- * @method static bool hasColumn(string $table, string $column)
14
- * @method static bool hasColumns(string $table, array $columns)
15
- * @method static \Illuminate\Database\Schema\Builder disableForeignKeyConstraints()
16
- * @method static \Illuminate\Database\Schema\Builder enableForeignKeyConstraints()
17
- * @method static void registerCustomDoctrineType(string $class, string $name, string $type)
18
- *
19
- * @see \Illuminate\Database\Schema\Builder
20
- */
21
-class Schema extends Facade
22
-{
23
-    /**
24
-     * Get a schema builder instance for a connection.
25
-     *
26
-     * @param  string|null  $name
27
-     * @return \Illuminate\Database\Schema\Builder
28
-     */
29
-    public static function connection($name)
30
-    {
31
-        return static::$app['db']->connection($name)->getSchemaBuilder();
32
-    }
33
-
34
-    /**
35
-     * Get a schema builder instance for the default connection.
36
-     *
37
-     * @return \Illuminate\Database\Schema\Builder
38
-     */
39
-    protected static function getFacadeAccessor()
40
-    {
41
-        return static::$app['db']->connection()->getSchemaBuilder();
42
-    }
43
-}
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,43 @@
1
+<?php
2
+
3
+namespace Illuminate\Support\Facades;
4
+
5
+/**
6
+ * @method static \Illuminate\Database\Schema\Builder create(string $table, \Closure $callback)
7
+ * @method static \Illuminate\Database\Schema\Builder drop(string $table)
8
+ * @method static \Illuminate\Database\Schema\Builder dropIfExists(string $table)
9
+ * @method static \Illuminate\Database\Schema\Builder table(string $table, \Closure $callback)
10
+ * @method static \Illuminate\Database\Schema\Builder rename(string $from, string $to)
11
+ * @method static void defaultStringLength(int $length)
12
+ * @method static bool hasTable(string $table)
13
+ * @method static bool hasColumn(string $table, string $column)
14
+ * @method static bool hasColumns(string $table, array $columns)
15
+ * @method static \Illuminate\Database\Schema\Builder disableForeignKeyConstraints()
16
+ * @method static \Illuminate\Database\Schema\Builder enableForeignKeyConstraints()
17
+ * @method static void registerCustomDoctrineType(string $class, string $name, string $type)
18
+ *
19
+ * @see \Illuminate\Database\Schema\Builder
20
+ */
21
+class Schema extends Facade
22
+{
23
+    /**
24
+     * Get a schema builder instance for a connection.
25
+     *
26
+     * @param  string|null  $name
27
+     * @return \Illuminate\Database\Schema\Builder
28
+     */
29
+    public static function connection($name)
30
+    {
31
+        return static::$app['db']->connection($name)->getSchemaBuilder();
32
+    }
33
+
34
+    /**
35
+     * Get a schema builder instance for the default connection.
36
+     *
37
+     * @return \Illuminate\Database\Schema\Builder
38
+     */
39
+    protected static function getFacadeAccessor()
40
+    {
41
+        return static::$app['db']->connection()->getSchemaBuilder();
42
+    }
43
+}