App.php
2 years ago
Artisan.php
2 years ago
Auth.php
2 years ago
Blade.php
2 years ago
Broadcast.php
2 years ago
Bus.php
2 years ago
Cache.php
2 years ago
Config.php
2 years ago
Cookie.php
2 years ago
Crypt.php
2 years ago
DB.php
2 years ago
Date.php
2 years ago
Event.php
2 years ago
Facade.php
2 years ago
File.php
2 years ago
Gate.php
2 years ago
Hash.php
2 years ago
Http.php
2 years ago
Lang.php
2 years ago
Log.php
2 years ago
Mail.php
2 years ago
Notification.php
2 years ago
ParallelTesting.php
2 years ago
Password.php
2 years ago
Queue.php
2 years ago
RateLimiter.php
2 years ago
Redirect.php
2 years ago
Redis.php
2 years ago
Request.php
2 years ago
Response.php
2 years ago
Route.php
2 years ago
Schema.php
2 years ago
Session.php
2 years ago
Storage.php
2 years ago
URL.php
2 years ago
Validator.php
2 years ago
View.php
2 years ago
Schema.php
52 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWP_SCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static \Illuminate\Database\Schema\Builder create(string $table, \Closure $callback) |
| 7 | * @method static \Illuminate\Database\Schema\Builder createDatabase(string $name) |
| 8 | * @method static \Illuminate\Database\Schema\Builder disableForeignKeyConstraints() |
| 9 | * @method static \Illuminate\Database\Schema\Builder drop(string $table) |
| 10 | * @method static \Illuminate\Database\Schema\Builder dropDatabaseIfExists(string $name) |
| 11 | * @method static \Illuminate\Database\Schema\Builder dropIfExists(string $table) |
| 12 | * @method static \Illuminate\Database\Schema\Builder enableForeignKeyConstraints() |
| 13 | * @method static \Illuminate\Database\Schema\Builder rename(string $from, string $to) |
| 14 | * @method static \Illuminate\Database\Schema\Builder table(string $table, \Closure $callback) |
| 15 | * @method static bool hasColumn(string $table, string $column) |
| 16 | * @method static bool hasColumns(string $table, array $columns) |
| 17 | * @method static bool dropColumns(string $table, array $columns) |
| 18 | * @method static bool hasTable(string $table) |
| 19 | * @method static void defaultStringLength(int $length) |
| 20 | * @method static void registerCustomDoctrineType(string $class, string $name, string $type) |
| 21 | * @method static array getColumnListing(string $table) |
| 22 | * @method static string getColumnType(string $table, string $column) |
| 23 | * @method static void morphUsingUuids() |
| 24 | * @method static \Illuminate\Database\Connection getConnection() |
| 25 | * @method static \Illuminate\Database\Schema\Builder setConnection(\Illuminate\Database\Connection $connection) |
| 26 | * |
| 27 | * @see \Illuminate\Database\Schema\Builder |
| 28 | * @internal |
| 29 | */ |
| 30 | class Schema extends Facade |
| 31 | { |
| 32 | /** |
| 33 | * Get a schema builder instance for a connection. |
| 34 | * |
| 35 | * @param string|null $name |
| 36 | * @return \Illuminate\Database\Schema\Builder |
| 37 | */ |
| 38 | public static function connection($name) |
| 39 | { |
| 40 | return static::$app['db']->connection($name)->getSchemaBuilder(); |
| 41 | } |
| 42 | /** |
| 43 | * Get a schema builder instance for the default connection. |
| 44 | * |
| 45 | * @return \Illuminate\Database\Schema\Builder |
| 46 | */ |
| 47 | protected static function getFacadeAccessor() |
| 48 | { |
| 49 | return static::$app['db']->connection()->getSchemaBuilder(); |
| 50 | } |
| 51 | } |
| 52 |