예제 #1
0
 /**
  * Get instance of every available driver/connection.
  *
  * @return Driver[]
  * @throws DatabaseException
  */
 public function getDrivers()
 {
     $result = [];
     foreach ($this->config->connectionNames() as $name) {
         $result[] = $this->driver($name);
     }
     return $result;
 }