Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Cart
      • Facades
  • None
  • PHP

Classes

  • App
  • Artisan
  • Auth
  • Blade
  • Cache
  • Config
  • Cookie
  • Crypt
  • DB
  • Event
  • Facade
  • File
  • Form
  • Hash
  • HTML
  • Input
  • Lang
  • Log
  • Mail
  • Paginator
  • Password
  • Queue
  • Redirect
  • Redis
  • Request
  • Response
  • Route
  • Schema
  • Session
  • URL
  • Validator
  • View
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php namespace Illuminate\Support\Facades;
 2: 
 3: class Schema extends Facade {
 4: 
 5:     /**
 6:      * Get a schema builder instance for a connection.
 7:      *
 8:      * @param  string  $name
 9:      * @return \Illuminate\Database\Schema\Builder
10:      */
11:     public static function connection($name)
12:     {
13:         return static::$app['db']->connection($name)->getSchemaBuilder();
14:     }
15: 
16:     /**
17:      * Get the registered name of the component.
18:      *
19:      * @return string
20:      */
21:     protected static function getFacadeAccessor()
22:     {
23:         return static::$app['db']->connection()->getSchemaBuilder();
24:     }
25: 
26: }
cart API documentation generated by ApiGen 2.8.0