| 1 |
<?php |
| 2 |
|
| 3 |
declare (strict_types=1); |
| 4 |
namespace RyanHellyer\UniqueHeaders\Vendor\Inpsyde\Modularity\Module; |
| 5 |
|
| 6 |
use RyanHellyer\UniqueHeaders\Vendor\Psr\Container\ContainerInterface; |
| 7 |
interface ExecutableModule extends Module |
| 8 |
{ |
| 9 |
/** |
| 10 |
* Perform actions with objects retrieved from the container. Usually, adding WordPress hooks. |
| 11 |
* Return true to signal a success, false to signal a failure. |
| 12 |
* |
| 13 |
* @param ContainerInterface $container |
| 14 |
* |
| 15 |
* @return bool true when successfully booted, otherwise false. |
| 16 |
*/ |
| 17 |
public function run(ContainerInterface $container): bool; |
| 18 |
} |
| 19 |
|