mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-09 23:47:46 +00:00
32 lines
684 B
PHP
32 lines
684 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/*
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Chill\PersonBundle\PersonIdentifier;
|
|
|
|
/**
|
|
* Data Transfer Object to create a ConstraintViolationListInterface.
|
|
*/
|
|
class IdentifierViolationDTO
|
|
{
|
|
public function __construct(
|
|
public string $message,
|
|
/**
|
|
* @var string an UUID
|
|
*/
|
|
public string $code,
|
|
/**
|
|
* @var array<string, string>
|
|
*/
|
|
public array $parameters = [],
|
|
public string $messageDomain = 'validators',
|
|
) {}
|
|
}
|