class ValidationException extends Enlight_Exception
implements ApiException
{ /**
* @deprecated - Will be native type hinted in Shopware 5.8 and not nullable anymore
*
* @var ConstraintViolationListInterface|null
*/
protected $violations;
public function __construct(ConstraintViolationListInterface
$violations) { $this->
setViolations($violations);
parent::
__construct((string) $this, Response::HTTP_BAD_REQUEST
);
} /**
* @return string
*/
public function __toString() { $output = '';