You are here

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

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

Maps error codes to the names of their constants.

Type: array

Overrides File::$errorNames

File

vendor/symfony/validator/Constraints/Image.php, line 38

Class

Image
@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',
  self::SIZE_NOT_DETECTED_ERROR => 'SIZE_NOT_DETECTED_ERROR',
  self::TOO_WIDE_ERROR => 'TOO_WIDE_ERROR',
  self::TOO_NARROW_ERROR => 'TOO_NARROW_ERROR',
  self::TOO_HIGH_ERROR => 'TOO_HIGH_ERROR',
  self::TOO_LOW_ERROR => 'TOO_LOW_ERROR',
  self::RATIO_TOO_BIG_ERROR => 'RATIO_TOO_BIG_ERROR',
  self::RATIO_TOO_SMALL_ERROR => 'RATIO_TOO_SMALL_ERROR',
  self::SQUARE_NOT_ALLOWED_ERROR => 'SQUARE_NOT_ALLOWED_ERROR',
  self::LANDSCAPE_NOT_ALLOWED_ERROR => 'LANDSCAPE_NOT_ALLOWED_ERROR',
  self::PORTRAIT_NOT_ALLOWED_ERROR => 'PORTRAIT_NOT_ALLOWED_ERROR',
);