woocommerce-paypal-payments/src/class-pluginmodule.php

45 lines
798 B
PHP
Raw Normal View History

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
use Dhii\Container\ServiceProvider;
use Dhii\Modular\Module\ModuleInterface;
use Interop\Container\ServiceProviderInterface;
use Psr\Container\ContainerInterface;
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
/**
* Sets the module up.
*/
2020-08-27 11:08:36 +03:00
public function setup(): ServiceProviderInterface {
return new ServiceProvider( array(), array() );
}
2020-08-31 13:08:27 +03:00
/**
* Runs the module.
*
2020-09-16 10:18:45 +03:00
* @param ContainerInterface|null $container The Container.
2020-08-31 13:08:27 +03:00
*/
2020-09-16 10:18:45 +03:00
public function run( ContainerInterface $container = null ) {
}
/**
* 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
}