You are here

protected static property Collection::$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/Collection.php, line 29

Class

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

Namespace

Symfony\Component\Validator\Constraints

Code

protected static $errorNames = array(
  self::MISSING_FIELD_ERROR => 'MISSING_FIELD_ERROR',
  self::NO_SUCH_FIELD_ERROR => 'NO_SUCH_FIELD_ERROR',
);