Пример #1
0
 /**
  * Initializes the database connection.
  *
  * @throws \RuntimeException When the requested database driver is not installed.
  * @return void
  */
 public function connect()
 {
     $this->adapter->connect();
 }
 /**
  * Initializes the database connection.
  *
  * @throws \RuntimeException When the requested database driver is not installed.
  * @return TableMigrationInterface
  */
 public function connect()
 {
     $this->adapter->connect();
     return $this;
 }