Пример #1
0
 /**
  * @param ApplicationContract $app
  * @param BaseBuilder $base
  */
 public function __construct(ApplicationContract $app, BaseBuilder $base)
 {
     parent::__construct($base->getConnection());
 }
Пример #2
0
 /**
  * Set the Schema Blueprint resolver callback.
  *
  * @param \Closure $resolver
  * @return void 
  * @static 
  */
 public static function blueprintResolver($resolver)
 {
     //Method inherited from \Illuminate\Database\Schema\Builder
     \Illuminate\Database\Schema\MySqlBuilder::blueprintResolver($resolver);
 }
Пример #3
0
 /**
  * Set the database connection instance.
  *
  * @param \Illuminate\Database\Connection
  * @return \Illuminate\Database\Schema\Builder 
  * @static 
  */
 public static function setConnection($connection)
 {
     //Method inherited from \Illuminate\Database\Schema\Builder
     return \Illuminate\Database\Schema\MySqlBuilder::setConnection($connection);
 }