original_string: public function getAvailablePlatforms()
      {
          $platforms = array();
  
          foreach ($this->getSupportedDrivers() as $driverName => $driverClass) {
              $driver = new $driverClass;
              $platforms[$driverName] = $driver->getDatabasePlatform();
          }
  
          return $platforms;
      }
code: public function getAvailablePlatforms()
      {
          $platforms = array();
  
          foreach ($this->getSupportedDrivers() as $driverName => $driverClass) {
              $driver = new $driverClass;
              $platforms[$driverName] = $driver->getDatabasePlatform();
          }
  
          return $platforms;
      }
code_tokens: public function getAvailablePlatforms ( ) { $ platforms = array ( ) ; foreach ( $ this -> getSupportedDrivers ( ) as $ driverName => $ driverClass ) { $ driver = new $ driverClass ; $ platforms [ $ driverName ] = $ driver -> getDatabasePlatform ( ) ; } return $ platforms ; }
docstring: Returns the list of available driver platforms.
  
  Note: this method is public for testing purposes only
  
  @return array[AbstractPlatform]
docstring_tokens: Returns the list of available driver platforms .