original_string: public function registerConnection($name, array $configuration)
      {
          $this->configurations->set($name, new OrientDbMetadata(
              $configuration['host'],
              $configuration['port'],
              $configuration['timeout'],
              $configuration['user'],
              $configuration['password'],
              $configuration['database'],
              $configuration['data_type'],
              $configuration['storage_type']
          ));
      }
code: public function registerConnection($name, array $configuration)
      {
          $this->configurations->set($name, new OrientDbMetadata(
              $configuration['host'],
              $configuration['port'],
              $configuration['timeout'],
              $configuration['user'],
              $configuration['password'],
              $configuration['database'],
              $configuration['data_type'],
              $configuration['storage_type']
          ));
      }
code_tokens: public function registerConnection ( $ name , array $ configuration ) { $ this -> configurations -> set ( $ name , new OrientDbMetadata ( $ configuration [ 'host' ] , $ configuration [ 'port' ] , $ configuration [ 'timeout' ] , $ configuration [ 'user' ] , $ configuration [ 'password' ] , $ configuration [ 'database' ] , $ configuration [ 'data_type' ] , $ configuration [ 'storage_type' ] ) ) ; }
docstring: Register a new OrientDB connection under given name
  
  @param string $name
docstring_tokens: Register a new OrientDB connection under given name