original_string: public function addPrefix($prefix, $paths)
      {
          if (!$prefix) {
              foreach ((array) $paths as $path) {
                  $this->fallbackDirs[] = $path;
              }
  
              return;
          }
          if (isset($this->prefixes[$prefix])) {
              $this->prefixes[$prefix] = array_merge(
                  $this->prefixes[$prefix],
                  (array) $paths
              );
          } else {
              $this->prefixes[$prefix] = (array) $paths;
          }
      }
code: public function addPrefix($prefix, $paths)
      {
          if (!$prefix) {
              foreach ((array) $paths as $path) {
                  $this->fallbackDirs[] = $path;
              }
  
              return;
          }
          if (isset($this->prefixes[$prefix])) {
              $this->prefixes[$prefix] = array_merge(
                  $this->prefixes[$prefix],
                  (array) $paths
              );
          } else {
              $this->prefixes[$prefix] = (array) $paths;
          }
      }
code_tokens: public function addPrefix ( $ prefix , $ paths ) { if ( ! $ prefix ) { foreach ( ( array ) $ paths as $ path ) { $ this -> fallbackDirs [ ] = $ path ; } return ; } if ( isset ( $ this -> prefixes [ $ prefix ] ) ) { $ this -> prefixes [ $ prefix ] = array_merge ( $ this -> prefixes [ $ prefix ] , ( array ) $ paths ) ; } else { $ this -> prefixes [ $ prefix ] = ( array ) $ paths ; } }
docstring: Registers a set of classes
  
  @param string       $prefix The classes prefix
  @param array|string $paths  The location(s) of the classes
docstring_tokens: Registers a set of classes