mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
20 lines
598 B
PHP
20 lines
598 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Module;
|
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
|
|
|
|
interface ExecutableModule extends Module
|
|
{
|
|
/**
|
|
* Perform actions with objects retrieved from the container. Usually, adding WordPress hooks.
|
|
* Return true to signal a success, false to signal a failure.
|
|
*
|
|
* @param ContainerInterface $container
|
|
*
|
|
* @return bool true when successfully booted, otherwise false.
|
|
*/
|
|
public function run(ContainerInterface $container): bool;
|
|
}
|