You are here

protected static property File::$errorNames in Plug 7

Maps error codes to the names of their constants

Type: array

Overrides Constraint::$errorNames

File

lib/Symfony/validator/Symfony/Component/Validator/Constraints/File.php, line 35

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',
);