mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-26 01:14:19 +08:00
21 lines
553 B
PHP
21 lines
553 B
PHP
<?php
|
|
/**
|
|
* The vaulting module services.
|
|
*
|
|
* @package WooCommerce\PayPalCommerce\WcPaymentTokens
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace WooCommerce\PayPalCommerce\WcPaymentTokens;
|
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
|
|
|
return array(
|
|
'wc-payment-tokens.wc-payment-tokens' => static function ( ContainerInterface $container ): WooCommercePaymentTokens {
|
|
return new WooCommercePaymentTokens(
|
|
$container->get( 'api.endpoint.payment-tokens' ),
|
|
$container->get( 'woocommerce.logger.woocommerce' )
|
|
);
|
|
},
|
|
);
|