Esempio n. 1
0
 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();
 }
Esempio n. 2
0
 public function __construct(OptionManager $optionManager, SquarePricingManager $squarePricingManager, UserSessionManager $userSessionManager)
 {
     $this->optionManager = $optionManager;
     $this->squarePricingManager = $squarePricingManager;
     $this->user = $userSessionManager->getSessionUser();
 }