mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
49 lines
952 B
PHP
49 lines
952 B
PHP
<?php
|
|
/**
|
|
* The compatibility module.
|
|
*
|
|
* @package WooCommerce\PayPalCommerce\Compat
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace WooCommerce\PayPalCommerce\Compat;
|
|
|
|
use Dhii\Container\ServiceProvider;
|
|
use Dhii\Modular\Module\ModuleInterface;
|
|
use Interop\Container\ServiceProviderInterface;
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
/**
|
|
* Class CompatModule
|
|
*/
|
|
class CompatModule implements ModuleInterface {
|
|
|
|
/**
|
|
* Setup the compatibility module.
|
|
*
|
|
* @return ServiceProviderInterface
|
|
*/
|
|
public function setup(): ServiceProviderInterface {
|
|
return new ServiceProvider(
|
|
require __DIR__ . '/../services.php',
|
|
require __DIR__ . '/../extensions.php'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* Run the compatibility module.
|
|
*
|
|
* @param ContainerInterface|null $container The Container.
|
|
*/
|
|
public function run( ContainerInterface $container ): void {
|
|
}
|
|
|
|
/**
|
|
* Returns the key for the module.
|
|
*
|
|
* @return string|void
|
|
*/
|
|
public function getKey() {
|
|
}
|
|
}
|