関数
AmazonRedirectRouteGuards::__construct( Aivec\Welcart\SettlementModules\AmazonPay\AmazonPay $module )
Instantiates middleware
Instantiates middleware
(AmazonPay) (必須)
ファイル: src/Routing/AmazonRedirectRouteGuards.php
public function __construct(AmazonPay $module) { $this->module = $module; }
使用されるアイテム | 説明 |
---|---|
src/Routing/RedirectRoutes.php: RedirectRoutes::declareRoutes() | Declares request key routes |
src/AmazonPay.php: AmazonPay::initCheckoutHooks() | This function loads all hooks associated with the checkout process. Note that because of when Welcart’s main class and subsequent checkout hooks are loaded, our implementation of them MUST be initialized in this hook. Wordpresses “init” hook, for example, if used, will result in these hooks not being called at all. |