Commit d3c2e5e5 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #340 from stefk/driver-map-getter

Added driver map getter
parents ace56450 9710201c
...@@ -155,6 +155,16 @@ final class DriverManager ...@@ -155,6 +155,16 @@ final class DriverManager
return new $wrapperClass($params, $driver, $config, $eventManager); return new $wrapperClass($params, $driver, $config, $eventManager);
} }
/**
* Returns the list of supported drivers.
*
* @return array
*/
public static function getAvailableDrivers()
{
return array_keys(self::$_driverMap);
}
/** /**
* Checks the list of parameters. * Checks the list of parameters.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment