original_string: public function getOverrideMap()
      {
          gplcart_static_clear();
  
          $map = array();
  
          foreach ($this->module->getEnabled() as $module) {
  
              $directory = GC_DIR_MODULE . "/{$module['id']}/override/classes";
  
              if (!is_readable($directory)) {
                  continue;
              }
  
              foreach ($this->scanOverrideFiles($directory) as $file) {
                  $original = str_replace('/', '\\', str_replace($directory . '/', '', preg_replace('/Override$/', '', $file)));
                  $override = str_replace('/', '\\', str_replace(GC_DIR_SYSTEM . '/', '', $file));
                  $map["gplcart\\$original"][$module['id']] = "gplcart\\$override";
              }
          }
  
          return $map;
      }
code: public function getOverrideMap()
      {
          gplcart_static_clear();
  
          $map = array();
  
          foreach ($this->module->getEnabled() as $module) {
  
              $directory = GC_DIR_MODULE . "/{$module['id']}/override/classes";
  
              if (!is_readable($directory)) {
                  continue;
              }
  
              foreach ($this->scanOverrideFiles($directory) as $file) {
                  $original = str_replace('/', '\\', str_replace($directory . '/', '', preg_replace('/Override$/', '', $file)));
                  $override = str_replace('/', '\\', str_replace(GC_DIR_SYSTEM . '/', '', $file));
                  $map["gplcart\\$original"][$module['id']] = "gplcart\\$override";
              }
          }
  
          return $map;
      }
code_tokens: public function getOverrideMap ( ) { gplcart_static_clear ( ) ; $ map = array ( ) ; foreach ( $ this -> module -> getEnabled ( ) as $ module ) { $ directory = GC_DIR_MODULE . "/{$module['id']}/override/classes" ; if ( ! is_readable ( $ directory ) ) { continue ; } foreach ( $ this -> scanOverrideFiles ( $ directory ) as $ file ) { $ original = str_replace ( '/' , '\\' , str_replace ( $ directory . '/' , '' , preg_replace ( '/Override$/' , '' , $ file ) ) ) ; $ override = str_replace ( '/' , '\\' , str_replace ( GC_DIR_SYSTEM . '/' , '' , $ file ) ) ; $ map [ "gplcart\\$original" ] [ $ module [ 'id' ] ] = "gplcart\\$override" ; } } return $ map ; }
docstring: Returns an array of class name spaces to be overridden
  @return array
docstring_tokens: Returns an array of class name spaces to be overridden