Mercurial > hg > cmmr2012-drupal-site
view vendor/egulias/email-validator/EmailValidator/Validation/MultipleErrors.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | |
children |
line wrap: on
line source
<?php namespace Egulias\EmailValidator\Validation; use Egulias\EmailValidator\Exception\InvalidEmail; class MultipleErrors extends InvalidEmail { const CODE = 999; const REASON = "Accumulated errors for multiple validations"; /** * @var array */ private $errors = []; public function __construct(array $errors) { $this->errors = $errors; parent::__construct(); } public function getErrors() { return $this->errors; } }