コード例 #1
0
ファイル: PaymentWrapper.php プロジェクト: pramoddas/elcodi
 /**
  * Get loaded object. If object is not loaded yet, then load it and save it
  * locally. Otherwise, just return the pre-loaded object.
  *
  * @param CartInterface $cart Cart
  *
  * @return mixed Loaded object
  */
 public function get(CartInterface $cart = null)
 {
     return $this->paymentEventDispatcher->dispatchPaymentCollectionEvent($cart);
 }
コード例 #2
0
ファイル: PaymentWrapper.php プロジェクト: jkabat/elcodi
 /**
  * Get loaded object. If object is not loaded yet, then load it and save it
  * locally. Otherwise, just return the pre-loaded object
  *
  * @return mixed Loaded object
  */
 public function get()
 {
     return $this->paymentEventDispatcher->dispatchPaymentCollectionEvent();
 }