| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('ABSPATH')) { |
| 4 |
exit; |
| 5 |
} |
| 6 |
|
| 7 |
/** |
| 8 |
* Narrow contract published by the Core layer so the Data layer (DatabaseUpgrade*, |
| 9 |
* PermalinkCache) can call back into business logic without statically depending |
| 10 |
* on the concrete ABJ_404_Solution_PluginLogic class. Lives in the Shared layer |
| 11 |
* for deptrac purposes so Data -> Shared remains the only direction crossed. |
| 12 |
*/ |
| 13 |
interface ABJ_404_Solution_PluginLogicInterface { |
| 14 |
|
| 15 |
/** |
| 16 |
* Re-register all WP cron hooks owned by the plugin. Used by upgrade flows |
| 17 |
* that complete schema work and need to ensure schedulers are wired. |
| 18 |
* |
| 19 |
* @return void |
| 20 |
*/ |
| 21 |
public function registerCrons(): void; |
| 22 |
} |
| 23 |
|