$formData Current form data (unused) * * @return bool True if the participant's data is mutable, false otherwise */ public function evaluate(BookingDto $bookingDto, int $participantIndex, array $formData): bool { $participant = $bookingDto->getParticipant($participantIndex); if (null === $participant) { return false; } return $participant->mutable; } public function getDependentFields(): array { return []; } public function getDescription(): string { return 'Checks if the participant\'s personal data is mutable (edit flow)'; } }