Added vendor/ directory for Composer's installed files
This commit is contained in:
29
vendor/illuminate/support/Facades/Schema.php
vendored
Executable file
29
vendor/illuminate/support/Facades/Schema.php
vendored
Executable file
@ -0,0 +1,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();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user