src/DB/PDO/DataSourceName.php
protected function checkDriverSupport( $driver ){
		if( !in_array( $driver, $this->drivers ) )
			throw new \RuntimeException( 'PDO driver "'.$driver.'" is not supported' );
		if( !in_array( $driver, \PDO::getAvailableDrivers() ) )
			throw new \RuntimeException( 'PDO driver "'.$driver.'" is not loaded' );
	}
protected function checkDriverSupport( $driver ){
		if( !in_array( $driver, $this->drivers ) )
			throw new \RuntimeException( 'PDO driver "'.$driver.'" is not supported' );
		if( !in_array( $driver, \PDO::getAvailableDrivers() ) )
			throw new \RuntimeException( 'PDO driver "'.$driver.'" is not loaded' );
	}
protected function checkDriverSupport ( $ driver ) { if ( ! in_array ( $ driver , $ this -> drivers ) ) throw new \ RuntimeException ( 'PDO driver "' . $ driver . '" is not supported' ) ; if ( ! in_array ( $ driver , \ PDO :: getAvailableDrivers ( ) ) ) throw new \ RuntimeException ( 'PDO driver "' . $ driver . '" is not loaded' ) ; }
Checks whether current Driver is installed with PHP and supported by Class.
@access		protected
@param		string		$driver			Driver Name to check (lowercase)
@return		void
@throws		RuntimeException			if PDO Driver is not supported
@throws		RuntimeException			if PDO Driver is not loaded
Checks whether current Driver is installed with PHP and supported by Class .