コード例 #1
0
ファイル: SquareValidator.php プロジェクト: Bertie1708/ep3-bs
 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();
 }
コード例 #2
0
ファイル: PricingSummary.php プロジェクト: Mendim/ep3-bs
 public function __construct(OptionManager $optionManager, SquarePricingManager $squarePricingManager, UserSessionManager $userSessionManager)
 {
     $this->optionManager = $optionManager;
     $this->squarePricingManager = $squarePricingManager;
     $this->user = $userSessionManager->getSessionUser();
 }