$formData Current form data (unused) * * @return bool True if the booking was made by an internal agency */ public function evaluate(BookingDto $bookingDto, int $participantIndex, array $formData): bool { return $bookingDto->isInternalAgencyBooking(); } /** * The agency code is a property of the booking, not of any form field. * * @return string[] Always empty */ public function getDependentFields(): array { return []; } public function getDescription(): string { return 'Checks if the booking is an internal agency booking'; } }