original_string: public function createDatabase($connectionName)
      {
          $configuration = $this->getConfiguration($connectionName);
          $database = $this->getConnection($connectionName);
  
          $database->DBCreate(
              $configuration->getDatabase(),
              $configuration->getDataType(),
              $configuration->getStorageType()
          );
  
          return $this->getDatabase($connectionName);
      }
code: public function createDatabase($connectionName)
      {
          $configuration = $this->getConfiguration($connectionName);
          $database = $this->getConnection($connectionName);
  
          $database->DBCreate(
              $configuration->getDatabase(),
              $configuration->getDataType(),
              $configuration->getStorageType()
          );
  
          return $this->getDatabase($connectionName);
      }
code_tokens: public function createDatabase ( $ connectionName ) { $ configuration = $ this -> getConfiguration ( $ connectionName ) ; $ database = $ this -> getConnection ( $ connectionName ) ; $ database -> DBCreate ( $ configuration -> getDatabase ( ) , $ configuration -> getDataType ( ) , $ configuration -> getStorageType ( ) ) ; return $ this -> getDatabase ( $ connectionName ) ; }
docstring: Tries to create a database for given connection name
  
  @param string $name
  
  @return \OrientDB
docstring_tokens: Tries to create a database for given connection name