mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-13 09:27:45 +00:00
Add Person's external identifiers to creation and edit form
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?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',
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user