public function __construct(BookingManager $bookingManager, ReservationManager $reservationManager, EventManager $eventManager, SquareManager $squareManager, UserSessionManager $userSessionManager) { $this->bookingManager = $bookingManager; $this->reservationManager = $reservationManager; $this->eventManager = $eventManager; $this->squareManager = $squareManager; $this->user = $userSessionManager->getSessionUser(); }
public function __construct(OptionManager $optionManager, SquarePricingManager $squarePricingManager, UserSessionManager $userSessionManager) { $this->optionManager = $optionManager; $this->squarePricingManager = $squarePricingManager; $this->user = $userSessionManager->getSessionUser(); }