feat: rename BookingSessionStore to BookingSessionManager
This commit is contained in:
@@ -22,7 +22,7 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
||||
class BookingConfigurator
|
||||
{
|
||||
public function __construct(
|
||||
private readonly BookingSessionStore $bookingSessionService,
|
||||
private readonly BookingSessionManager $bookingSessionService,
|
||||
private readonly TravelDataProvider $travelDataService,
|
||||
private readonly ParticipantEligibilityChecker $participantEligibilityService,
|
||||
private readonly BookingStatusRuleRegistry $bookingStatusRuleRegistry,
|
||||
|
||||
@@ -32,7 +32,7 @@ class BookingEditDataLoader
|
||||
public function __construct(
|
||||
private readonly ApiClient $apiClient,
|
||||
private readonly BookingDataProcessor $bookingDataProcessor,
|
||||
private readonly BookingSessionStore $bookingSessionService,
|
||||
private readonly BookingSessionManager $bookingSessionService,
|
||||
private readonly BookingChangeTracker $fingerprintService,
|
||||
private readonly TravelDataProvider $travelDataService,
|
||||
private readonly BookingEditDraftManager $draftService,
|
||||
|
||||
@@ -11,8 +11,8 @@ use App\BusProNet\Model\Notification;
|
||||
use App\Entity\User;
|
||||
use App\Form\Model\BookingDto;
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
|
||||
|
||||
/**
|
||||
@@ -26,7 +26,7 @@ class BookingEditSubmitter
|
||||
private readonly BookingEditDraftManager $draftService,
|
||||
private readonly TravelDataProvider $travelDataService,
|
||||
private readonly BookingEditSubmitGuard $submitGuard,
|
||||
private readonly BookingSessionStore $bookingSessionService,
|
||||
private readonly BookingSessionManager $bookingSessionService,
|
||||
private readonly UrlGeneratorInterface $urlGenerator,
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
|
||||
@@ -15,7 +15,7 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
* orchestration and pricing logic. It handles DTO persistence, baseline
|
||||
* room snapshots, and return URL storage for the booking create/edit flows.
|
||||
*/
|
||||
class BookingSessionStore
|
||||
class BookingSessionManager
|
||||
{
|
||||
public const BOOKING_CREATE_KEY = 'booking_create';
|
||||
public const BOOKING_CREATE_BASELINE_KEY = 'booking_create_baseline_snapshot';
|
||||
Reference in New Issue
Block a user