feat: replace edit participant facade with context factory
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Form\Model;
|
||||
|
||||
use App\BusProNet\Model\BaseData;
|
||||
use App\BusProNet\Model\Booking;
|
||||
|
||||
/**
|
||||
* Bundles the data needed to render an edit-participant page.
|
||||
*/
|
||||
class BookingEditParticipantContext
|
||||
{
|
||||
public function __construct(
|
||||
public readonly BookingDto $bookingDto,
|
||||
public readonly Booking $bookingData,
|
||||
public readonly ?BaseData $mutableData,
|
||||
public readonly BookingSummaryDto $summaryData,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user