original_string: public static function addResourceDirectory($prefix, $dir)
      {
          if(self::$_resourceLoader) {
              self::$_resourceLoader->addPrefixPath($prefix, $dir);
          }
      }
code: public static function addResourceDirectory($prefix, $dir)
      {
          if(self::$_resourceLoader) {
              self::$_resourceLoader->addPrefixPath($prefix, $dir);
          }
      }
code_tokens: public static function addResourceDirectory ( $ prefix , $ dir ) { if ( self :: $ _resourceLoader ) { self :: $ _resourceLoader -> addPrefixPath ( $ prefix , $ dir ) ; } }
docstring: Add directory to the list of places where to look for resource handlers
  
  @param string $prefix
  @param string $dir
docstring_tokens: Add directory to the list of places where to look for resource handlers