PHP Interface Sulu\Bundle\MediaBundle\Media\FileValidator\FileValidatorInterface

The FileValidator is a interface to validate uploaded files.
Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
validate ( Symfony\Component\HttpFoundation\File\UploadedFile $file, array $methods = [] ) : mixed Validated a given file.

Method Details

validate() public méthode

Validated a given file.
public validate ( Symfony\Component\HttpFoundation\File\UploadedFile $file, array $methods = [] ) : mixed
$file Symfony\Component\HttpFoundation\File\UploadedFile
$methods array
Résultat mixed