original_string: public function getModulePath($slug)
      {
          if (Str::length($slug) > 3) {
              $module = Str::studly($slug);
          } else {
              $module = Str::upper($slug);
          }
  
          return $this->getModulesPath() .DS .$module .DS;
      }
code: public function getModulePath($slug)
      {
          if (Str::length($slug) > 3) {
              $module = Str::studly($slug);
          } else {
              $module = Str::upper($slug);
          }
  
          return $this->getModulesPath() .DS .$module .DS;
      }
code_tokens: public function getModulePath ( $ slug ) { if ( Str :: length ( $ slug ) > 3 ) { $ module = Str :: studly ( $ slug ) ; } else { $ module = Str :: upper ( $ slug ) ; } return $ this -> getModulesPath ( ) . DS . $ module . DS ; }
docstring: Get path for the specified Module.
  
  @param string $slug
  
  @return string
docstring_tokens: Get path for the specified Module .