original_string: protected function getLocalTempFilePath($fileName)
      {
          $fileName = md5($fileName.uniqid().microtime());
  
          $mediaFolder = Config::get('cms.storage.media.folder', 'media');
  
          $path = temp_path() . MediaLibrary::validatePath($mediaFolder, true);
  
          if (!File::isDirectory($path)) {
              File::makeDirectory($path, 0777, true, true);
          }
  
          return $path.'/'.$fileName;
      }
code: protected function getLocalTempFilePath($fileName)
      {
          $fileName = md5($fileName.uniqid().microtime());
  
          $mediaFolder = Config::get('cms.storage.media.folder', 'media');
  
          $path = temp_path() . MediaLibrary::validatePath($mediaFolder, true);
  
          if (!File::isDirectory($path)) {
              File::makeDirectory($path, 0777, true, true);
          }
  
          return $path.'/'.$fileName;
      }
code_tokens: protected function getLocalTempFilePath ( $ fileName ) { $ fileName = md5 ( $ fileName . uniqid ( ) . microtime ( ) ) ; $ mediaFolder = Config :: get ( 'cms.storage.media.folder' , 'media' ) ; $ path = temp_path ( ) . MediaLibrary :: validatePath ( $ mediaFolder , true ) ; if ( ! File :: isDirectory ( $ path ) ) { File :: makeDirectory ( $ path , 0777 , true , true ) ; } return $ path . '/' . $ fileName ; }
docstring: Get temporary local file path
  @param string $fileName
  @return string
docstring_tokens: Get temporary local file path