PHP 8.3.31
Preview: Schema.php Size: 3.10 KB
/home/getspomw/royalsquad.us/vendor/laravel/framework/src/Illuminate/Support/Facades/Schema.php

<?php

namespace Illuminate\Support\Facades;

/**
 * @method static void defaultStringLength(int $length)
 * @method static void defaultMorphKeyType(string $type)
 * @method static void morphUsingUuids()
 * @method static void morphUsingUlids()
 * @method static bool createDatabase(string $name)
 * @method static bool dropDatabaseIfExists(string $name)
 * @method static bool hasTable(string $table)
 * @method static bool hasView(string $view)
 * @method static array getTables()
 * @method static array getTableListing()
 * @method static array getViews()
 * @method static array getTypes()
 * @method static bool hasColumn(string $table, string $column)
 * @method static bool hasColumns(string $table, array $columns)
 * @method static void whenTableHasColumn(string $table, string $column, \Closure $callback)
 * @method static void whenTableDoesntHaveColumn(string $table, string $column, \Closure $callback)
 * @method static string getColumnType(string $table, string $column, bool $fullDefinition = false)
 * @method static array getColumnListing(string $table)
 * @method static array getColumns(string $table)
 * @method static array getIndexes(string $table)
 * @method static array getIndexListing(string $table)
 * @method static bool hasIndex(string $table, string|array $index, string|null $type = null)
 * @method static array getForeignKeys(string $table)
 * @method static void table(string $table, \Closure $callback)
 * @method static void create(string $table, \Closure $callback)
 * @method static void drop(string $table)
 * @method static void dropIfExists(string $table)
 * @method static void dropColumns(string $table, string|array $columns)
 * @method static void dropAllTables()
 * @method static void dropAllViews()
 * @method static void dropAllTypes()
 * @method static void rename(string $from, string $to)
 * @method static bool enableForeignKeyConstraints()
 * @method static bool disableForeignKeyConstraints()
 * @method static mixed withoutForeignKeyConstraints(\Closure $callback)
 * @method static \Illuminate\Database\Connection getConnection()
 * @method static \Illuminate\Database\Schema\Builder setConnection(\Illuminate\Database\Connection $connection)
 * @method static void blueprintResolver(\Closure $resolver)
 * @method static void macro(string $name, object|callable $macro)
 * @method static void mixin(object $mixin, bool $replace = true)
 * @method static bool hasMacro(string $name)
 * @method static void flushMacros()
 *
 * @see \Illuminate\Database\Schema\Builder
 */
class Schema extends Facade
{
    /**
     * Indicates if the resolved facade should be cached.
     *
     * @var bool
     */
    protected static $cached = false;

    /**
     * Get a schema builder instance for a connection.
     *
     * @param  string|null  $name
     * @return \Illuminate\Database\Schema\Builder
     */
    public static function connection($name)
    {
        return static::$app['db']->connection($name)->getSchemaBuilder();
    }

    /**
     * Get the registered name of the component.
     *
     * @return string
     */
    protected static function getFacadeAccessor()
    {
        return 'db.schema';
    }
}

Directory Contents

Dirs: 0 × Files: 44

Name Size Perms Modified Actions
9.27 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.86 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.97 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.98 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.56 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.85 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.96 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.42 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.26 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.82 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.39 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
874 B lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.34 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.18 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.80 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.32 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
9.00 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.81 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.83 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.35 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
9.29 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.12 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.78 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.16 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.88 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.22 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.33 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.30 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.04 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
4.60 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.28 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.33 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.99 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
11.18 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.75 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.19 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
7.59 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.10 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.69 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
8.61 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
3.81 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
1.54 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
5.46 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download
2.32 KB lrw-rw-rw- 2025-09-17 06:53:02
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).