/var/www/hkosl.com/imusiccircle/webadmin/libraies/illuminate/support/Illuminate/Support/Facades/Schema.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php namespace Illuminate\Support\Facades;

/**
 * @see \Illuminate\Database\Schema\Builder
 */
class Schema extends Facade {

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

}