You are here

protected static property File::$errorNames in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Constraints/File.php \Symfony\Component\Validator\Constraints\File::errorNames

Maps error codes to the names of their constants.

Type: array

Overrides Constraint::$errorNames

File

vendor/symfony/validator/Constraints/File.php, line 33

Class

File
@Target({"PROPERTY", "METHOD", "ANNOTATION"})

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::NOT_FOUND_ERROR => 'NOT_FOUND_ERROR',
  self::NOT_READABLE_ERROR => 'NOT_READABLE_ERROR',
  self::EMPTY_ERROR => 'EMPTY_ERROR',
  self::TOO_LARGE_ERROR => 'TOO_LARGE_ERROR',
  self::INVALID_MIME_TYPE_ERROR => 'INVALID_MIME_TYPE_ERROR',
);