feat: rename BookingSessionStore to BookingSessionManager

This commit is contained in:
Björn Fromme
2026-04-16 13:34:54 +02:00
parent b68c4ff9b4
commit c0cc183c59
19 changed files with 59 additions and 57 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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,
+2 -2
View File
@@ -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';