Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
plugins
/
mailpoet
/
vendor-prefixed
/
symfony
/
validator
/
Exception
:
ValidationFailedException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace MailPoetVendor\Symfony\Component\Validator\Exception; if (!defined('ABSPATH')) exit; use MailPoetVendor\Symfony\Component\Validator\ConstraintViolationListInterface; class ValidationFailedException extends RuntimeException { private $violations; private $value; public function __construct($value, ConstraintViolationListInterface $violations) { $this->violations = $violations; $this->value = $value; parent::__construct($violations); } public function getValue() { return $this->value; } public function getViolations() : ConstraintViolationListInterface { return $this->violations; } }