original_string: public function validateMimes($attribute, $value, $parameters)
      {
          if (! $this->isValidFileInstance($value)) {
              return false;
          }
  
          if ($this->shouldBlockPhpUpload($value, $parameters)) {
              return false;
          }
  
          return $value->getPath() !== '' && in_array($value->guessExtension(), $parameters);
      }
code: public function validateMimes($attribute, $value, $parameters)
      {
          if (! $this->isValidFileInstance($value)) {
              return false;
          }
  
          if ($this->shouldBlockPhpUpload($value, $parameters)) {
              return false;
          }
  
          return $value->getPath() !== '' && in_array($value->guessExtension(), $parameters);
      }
code_tokens: public function validateMimes ( $ attribute , $ value , $ parameters ) { if ( ! $ this -> isValidFileInstance ( $ value ) ) { return false ; } if ( $ this -> shouldBlockPhpUpload ( $ value , $ parameters ) ) { return false ; } return $ value -> getPath ( ) !== '' && in_array ( $ value -> guessExtension ( ) , $ parameters ) ; }
docstring: Validate the guessed extension of a file upload is in a set of file extensions.
  
  @param  string  $attribute
  @param  mixed  $value
  @param  array   $parameters
  @return bool
docstring_tokens: Validate the guessed extension of a file upload is in a set of file extensions .