initial
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Dispatched when every element of a form submission reaches its terminal
|
||||
* state — i.e. the form transitions from open to closed.
|
||||
*
|
||||
* $accepted is true when every timetable item was confirmed, false when at
|
||||
* least one was refused. It is resolved at dispatch time so listeners never
|
||||
* need a second database round-trip.
|
||||
*/
|
||||
final class RsvFormSubmitClosedEvent {
|
||||
public function __construct(
|
||||
public int $form_submit_id,
|
||||
public int $reservation_id,
|
||||
public bool $accepted
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user