File.php 529 B

12345678910111213
  1. <?php
  2. namespace Symfony\Component\Validator\Constraints;
  3. class File extends \Symfony\Component\Validator\Constraint
  4. {
  5. public $maxSize = null;
  6. public $mimeTypes = array();
  7. public $notFoundMessage = 'The file could not be found';
  8. public $notReadableMessage = 'The file is not readable';
  9. public $maxSizeMessage = 'The file is too large ({{ size }}). Allowed maximum size is {{ limit }}';
  10. public $mimeTypesMessage = 'The mime type of the file is invalid ({{ type }}). Allowed mime types are {{ types }}';
  11. }