original_string: public function saveFile(UploadedFile $file)
      {
          Validator::validate(
              [$this->getName() => $file],
              $this->getUploadValidationRules(),
              $this->getUploadValidationMessages(),
              $this->getUploadValidationTitles()
          );
  
          $path = $file->storeAs(
              $this->getUploadPath($file),
              $this->getUploadFileName($file),
              $this->getDisk()
          );
  
          return $this->getFileInfo($path);
      }
code: public function saveFile(UploadedFile $file)
      {
          Validator::validate(
              [$this->getName() => $file],
              $this->getUploadValidationRules(),
              $this->getUploadValidationMessages(),
              $this->getUploadValidationTitles()
          );
  
          $path = $file->storeAs(
              $this->getUploadPath($file),
              $this->getUploadFileName($file),
              $this->getDisk()
          );
  
          return $this->getFileInfo($path);
      }
code_tokens: public function saveFile ( UploadedFile $ file ) { Validator :: validate ( [ $ this -> getName ( ) => $ file ] , $ this -> getUploadValidationRules ( ) , $ this -> getUploadValidationMessages ( ) , $ this -> getUploadValidationTitles ( ) ) ; $ path = $ file -> storeAs ( $ this -> getUploadPath ( $ file ) , $ this -> getUploadFileName ( $ file ) , $ this -> getDisk ( ) ) ; return $ this -> getFileInfo ( $ path ) ; }
docstring: Save file to storage
  
  @param \Illuminate\Http\UploadedFile $file
  
  @return array
  @throws \Illuminate\Validation\ValidationException
docstring_tokens: Save file to storage