Assets
1 month ago
Http
1 year ago
PPCP.php
1 year ago
PluginModule.php
3 months ago
services.php
3 months ago
PluginModule.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * The plugin module. |
| 5 | * |
| 6 | * @package WooCommerce\PayPalCommerce |
| 7 | */ |
| 8 | declare (strict_types=1); |
| 9 | namespace WooCommerce\PayPalCommerce; |
| 10 | |
| 11 | use WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Module\ExecutableModule; |
| 12 | use WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Module\ModuleClassNameIdTrait; |
| 13 | use WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Module\ServiceModule; |
| 14 | use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface; |
| 15 | /** |
| 16 | * Class PluginModule |
| 17 | */ |
| 18 | class PluginModule implements ServiceModule, ExecutableModule |
| 19 | { |
| 20 | use ModuleClassNameIdTrait; |
| 21 | /** |
| 22 | * {@inheritDoc} |
| 23 | */ |
| 24 | public function services(): array |
| 25 | { |
| 26 | return require __DIR__ . '/services.php'; |
| 27 | } |
| 28 | /** |
| 29 | * {@inheritDoc} |
| 30 | */ |
| 31 | public function run(ContainerInterface $c): bool |
| 32 | { |
| 33 | return \true; |
| 34 | } |
| 35 | } |
| 36 |