Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
system
/
storage
/
vendor
/
cardinity
/
cardinity-sdk-php
/
src
/
Exception
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Cardinity\Exception; use Symfony\Component\Validator\ConstraintViolationListInterface; class InvalidAttributeValue extends Runtime { /** @type ConstraintViolationListInterface */ private $violations; public function __construct($message, ConstraintViolationListInterface $violations) { $message .= ' Violations: ' . $violations->__toString(); parent::__construct($message); $this->violations = $violations; } public function getViolations() { return $this->violations; } }