original_string: public function getModulePath($file, $asFileInfo = false)
      {
          $path = $this->moduleDirectory . ltrim($file, '/');
          if ($asFileInfo) {
              $path = new \SplFileInfo($path);
          }
  
          return $path;
      }
code: public function getModulePath($file, $asFileInfo = false)
      {
          $path = $this->moduleDirectory . ltrim($file, '/');
          if ($asFileInfo) {
              $path = new \SplFileInfo($path);
          }
  
          return $path;
      }
code_tokens: public function getModulePath ( $ file , $ asFileInfo = false ) { $ path = $ this -> moduleDirectory . ltrim ( $ file , '/' ) ; if ( $ asFileInfo ) { $ path = new \ SplFileInfo ( $ path ) ; } return $ path ; }
docstring: Returns the file path for the current module
  
  @param string $file
  @param bool $asFileInfo
  @return string|\SplFileInfo
docstring_tokens: Returns the file path for the current module