public function getAvailablePlatforms()
    {
        $platforms = array();

        foreach ($this->getSupportedDrivers() as $driverName => $driverClass) {
            $driver = new $driverClass;
            $platforms[$driverName] = $driver->getDatabasePlatform();
        }

        return $platforms;
    }
public function getAvailablePlatforms()
    {
        $platforms = array();

        foreach ($this->getSupportedDrivers() as $driverName => $driverClass) {
            $driver = new $driverClass;
            $platforms[$driverName] = $driver->getDatabasePlatform();
        }

        return $platforms;
    }
public function getAvailablePlatforms ( ) { $ platforms = array ( ) ; foreach ( $ this -> getSupportedDrivers ( ) as $ driverName => $ driverClass ) { $ driver = new $ driverClass ; $ platforms [ $ driverName ] = $ driver -> getDatabasePlatform ( ) ; } return $ platforms ; }
Returns the list of available driver platforms.

Note: this method is public for testing purposes only

@return array[AbstractPlatform]
Returns the list of available driver platforms .