src/Schema.php
public static function connection($name)
    {
        $schema = static::$app['db']->connection($name)->getSchemaBuilder();
        $schema->blueprintResolver(function ($table, $callback) {
            return new Blueprint($table, $callback);
        });

        return $schema;
    }
public static function connection($name)
    {
        $schema = static::$app['db']->connection($name)->getSchemaBuilder();
        $schema->blueprintResolver(function ($table, $callback) {
            return new Blueprint($table, $callback);
        });

        return $schema;
    }
public static function connection ( $ name ) { $ schema = static :: $ app [ 'db' ] -> connection ( $ name ) -> getSchemaBuilder ( ) ; $ schema -> blueprintResolver ( function ( $ table , $ callback ) { return new Blueprint ( $ table , $ callback ) ; } ) ; return $ schema ; }
Get a schema builder instance for a connection.

@param  string  $name
@return \Illuminate\Database\Schema\Builder
Get a schema builder instance for a connection .