Вход Регистрация
Файл: concrete5.7.5.6/concrete/vendor/illuminate/support/Illuminate/Support/Facades/Schema.php
Строк: 36
<?php namespace IlluminateSupportFacades;

/**
 * @see IlluminateDatabaseSchemaBuilder
 */
class Schema extends Facade {

    
/**
     * Get a schema builder instance for a connection.
     *
     * @param  string  $name
     * @return IlluminateDatabaseSchemaBuilder
     */
    
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 static::
$app['db']->connection()->getSchemaBuilder();
    }

}
Онлайн: 2
Реклама