コード例 #1
0
ファイル: Migrator.php プロジェクト: hochanh/Bootsoft-Bowling
 /**
  * Set the default connection name.
  *
  * @param  string  $name
  * @return void
  */
 public function setConnection($name)
 {
     $this->repository->setSource($name);
     $this->connection = $name;
 }
コード例 #2
0
 /**
  * Determine if the migration repository exists.
  *
  * @return bool
  */
 public function repositoryExists()
 {
     return $this->repository->repositoryExists();
 }