mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-08 14:29:42 +00:00
Add validate
method to PersonIdentifierEngineInterface and related classes
- Introduced `validate` method in `PersonIdentifierEngineInterface`. - Added `ValidIdentifierConstraint` to `PersonIdentifier` entity. - Updated `PersonIdentifierWorker` to implement the new `validate` method.
This commit is contained in:
@@ -24,6 +24,8 @@ interface PersonIdentifierManagerInterface
|
||||
|
||||
/**
|
||||
* @param int|PersonIdentifierDefinition $personIdentifierDefinition an instance of PersonIdentifierDefinition, or his id
|
||||
*
|
||||
* @throw PersonIdentifierNotFoundException
|
||||
*/
|
||||
public function buildWorkerByPersonIdentifierDefinition(int|PersonIdentifierDefinition $personIdentifierDefinition): PersonIdentifierWorker;
|
||||
}
|
||||
|
Reference in New Issue
Block a user