2020-04-02 08:38:00 +03:00
|
|
|
<?php
|
2020-08-31 13:08:27 +03:00
|
|
|
/**
|
|
|
|
* The plugin module.
|
|
|
|
*
|
2020-09-11 14:11:10 +03:00
|
|
|
* @package WooCommerce\PayPalCommerce
|
2020-08-31 13:08:27 +03:00
|
|
|
*/
|
2020-04-28 15:08:27 +03:00
|
|
|
|
2020-04-02 08:38:00 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2020-09-11 14:11:10 +03:00
|
|
|
namespace WooCommerce\PayPalCommerce;
|
2020-04-02 08:38:00 +03:00
|
|
|
|
2022-11-09 10:11:31 +02:00
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Dhii\Container\ServiceProvider;
|
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Dhii\Modular\Module\ModuleInterface;
|
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Interop\Container\ServiceProviderInterface;
|
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
2020-04-02 08:38:00 +03:00
|
|
|
|
2020-08-31 13:08:27 +03:00
|
|
|
/**
|
|
|
|
* Class PluginModule
|
|
|
|
*/
|
2020-08-27 11:08:36 +03:00
|
|
|
class PluginModule implements ModuleInterface {
|
2020-04-02 08:38:00 +03:00
|
|
|
|
2020-08-31 13:08:27 +03:00
|
|
|
/**
|
2021-08-30 08:08:41 +02:00
|
|
|
* {@inheritDoc}
|
2020-08-31 13:08:27 +03:00
|
|
|
*/
|
2020-08-27 11:08:36 +03:00
|
|
|
public function setup(): ServiceProviderInterface {
|
2022-02-17 18:18:33 +02:00
|
|
|
return new ServiceProvider(
|
|
|
|
require __DIR__ . '/services.php',
|
|
|
|
require __DIR__ . '/extensions.php'
|
|
|
|
);
|
2020-08-27 11:08:36 +03:00
|
|
|
}
|
|
|
|
|
2020-08-31 13:08:27 +03:00
|
|
|
/**
|
2021-08-30 08:08:41 +02:00
|
|
|
* {@inheritDoc}
|
2020-08-31 13:08:27 +03:00
|
|
|
*/
|
2021-08-30 08:10:43 +02:00
|
|
|
public function run( ContainerInterface $c ): void {
|
2020-09-16 10:18:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns the key for the module.
|
|
|
|
*
|
|
|
|
* @return string|void
|
|
|
|
*/
|
|
|
|
public function getKey() {
|
2020-08-27 11:08:36 +03:00
|
|
|
}
|
2020-04-06 11:16:18 +03:00
|
|
|
}
|