関数
RestRouteGuards::__construct( Aivec\Welcart\SettlementModules\AmazonPay\AmazonPay $module )
Instantiates REST route guards
Instantiates REST route guards
(AmazonPay) (必須)
ファイル: src/Routing/RestRouteGuards.php
public function __construct(AmazonPay $module) { $this->module = $module; }
使用されるアイテム | 説明 |
---|---|
src/Routing/RedirectRoutes.php: RedirectRoutes::declareRoutes() | Declares request key routes |
src/Routing/RestRoutes.php: RestRoutes::declareRoutes() | Contains declarations for all 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. |