コード例 #1
0
ファイル: CartPresenter.php プロジェクト: shophp/shophp
 public function __construct(CartFormFactory $cartFormFactory, CurrentCartService $currentCartService, CartService $cartService, ShipmentService $shipmentService)
 {
     parent::__construct();
     $this->cartFormFactory = $cartFormFactory;
     $this->currentCartService = $currentCartService;
     $this->cartService = $cartService;
     $this->shipmentService = $shipmentService;
 }
コード例 #2
0
ファイル: PaymentPresenter.php プロジェクト: shophp/shophp
 public function __construct(CurrentCartService $currentCartService, OrderService $orderService, ShipmentService $shipmentService, PaymentFormFactory $paymentFormFactory)
 {
     parent::__construct();
     $this->paymentFormFactory = $paymentFormFactory;
     $this->orderService = $orderService;
     $this->currentCartService = $currentCartService;
     $this->shipmentService = $shipmentService;
 }
コード例 #3
0
ファイル: ShipmentPresenter.php プロジェクト: shophp/shophp
 public function __construct(ShipmentFormFactory $shipmentFormFactory, CurrentCartService $currentCartService, CartService $cartService, ShipmentService $shipmentService, User $user)
 {
     parent::__construct();
     $this->shipmentFormFactory = $shipmentFormFactory;
     $this->currentCartService = $currentCartService;
     $this->cartService = $cartService;
     $this->shipmentService = $shipmentService;
     $this->user = $user;
 }
コード例 #4
0
ファイル: AddressPresenter.php プロジェクト: shophp/shophp
 public function __construct(AddressFormFactory $addressFormFactory, CurrentCartService $currentCartService)
 {
     parent::__construct();
     $this->addressFormFactory = $addressFormFactory;
     $this->currentCartService = $currentCartService;
 }