original_string: protected function getDbConfig( \Aimeos\MW\Config\Iface $conf )
  	{
  		$dbconfig = $conf->get( 'resource', array() );
  
  		foreach( $dbconfig as $rname => $dbconf )
  		{
  			if( strncmp( $rname, 'db', 2 ) !== 0 ) {
  				unset( $dbconfig[$rname] );
  			}
  		}
  
  		return $dbconfig;
  	}
code: protected function getDbConfig( \Aimeos\MW\Config\Iface $conf )
  	{
  		$dbconfig = $conf->get( 'resource', array() );
  
  		foreach( $dbconfig as $rname => $dbconf )
  		{
  			if( strncmp( $rname, 'db', 2 ) !== 0 ) {
  				unset( $dbconfig[$rname] );
  			}
  		}
  
  		return $dbconfig;
  	}
code_tokens: protected function getDbConfig ( \ Aimeos \ MW \ Config \ Iface $ conf ) { $ dbconfig = $ conf -> get ( 'resource' , array ( ) ) ; foreach ( $ dbconfig as $ rname => $ dbconf ) { if ( strncmp ( $ rname , 'db' , 2 ) !== 0 ) { unset ( $ dbconfig [ $ rname ] ) ; } } return $ dbconfig ; }
docstring: Returns the database configuration from the config object.
  
  @param \Aimeos\MW\Config\Iface $conf Config object
  @return array Multi-dimensional associative list of database configuration parameters
docstring_tokens: Returns the database configuration from the config object .