original_string: public function getRelativeFilePath($filename, $subDir = self::UPLOADER_SUB_DIR)
      {
          $pathParts = array(Media::NAME, $subDir, $this->getFileDirPrefix($filename), $filename);
  
          return DIRECTORY_SEPARATOR . $this->getPath($pathParts);
      }
code: public function getRelativeFilePath($filename, $subDir = self::UPLOADER_SUB_DIR)
      {
          $pathParts = array(Media::NAME, $subDir, $this->getFileDirPrefix($filename), $filename);
  
          return DIRECTORY_SEPARATOR . $this->getPath($pathParts);
      }
code_tokens: public function getRelativeFilePath ( $ filename , $ subDir = self :: UPLOADER_SUB_DIR ) { $ pathParts = array ( Media :: NAME , $ subDir , $ this -> getFileDirPrefix ( $ filename ) , $ filename ) ; return DIRECTORY_SEPARATOR . $ this -> getPath ( $ pathParts ) ; }
docstring: Get relative file path.
  
  @param string $filename
  @param string $subDir
  
  @return string
docstring_tokens: Get relative file path .