2020-04-02 08:38:00 +03:00
|
|
|
<?php
|
2020-08-31 13:08:27 +03:00
|
|
|
/**
|
|
|
|
* The plugin module.
|
|
|
|
*
|
|
|
|
* @package Inpsyde\PayPalCommerce
|
|
|
|
*/
|
2020-04-28 15:08:27 +03:00
|
|
|
|
2020-04-02 08:38:00 +03:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace Inpsyde\PayPalCommerce;
|
|
|
|
|
|
|
|
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.
|
|
|
|
*
|
|
|
|
* @param ContainerInterface $container
|
|
|
|
*/
|
2020-08-27 11:08:36 +03:00
|
|
|
public function run( ContainerInterface $container ) {
|
|
|
|
// TODO: Implement run() method.
|
|
|
|
}
|
2020-04-06 11:16:18 +03:00
|
|
|
}
|