wip: refactor to cards with individual participant forms
This commit is contained in:
@@ -39,8 +39,12 @@ interface ParticipantFieldHandlerInterface
|
||||
|
||||
/**
|
||||
* Determines if this handler should process the field based on submitted participant data.
|
||||
*
|
||||
* @param array<string, mixed> $submittedData The submitted participant form data
|
||||
* @param string $mode The booking mode (BookingDto::MODE_CREATE or MODE_EDIT)
|
||||
* @param int $participantIndex The participant index being processed
|
||||
*/
|
||||
public function shouldProcess(array $submittedData, int $participantIndex): bool;
|
||||
public function shouldProcess(array $submittedData, string $mode, int $participantIndex): bool;
|
||||
|
||||
/**
|
||||
* Returns field state modifications that should be applied after processing.
|
||||
|
||||
Reference in New Issue
Block a user