AdminNoticeHandler.php
4 years ago
RequestHandler.php
4 years ago
TopLevelMenuRedirect.php
4 years ago
RequestHandler.php
28 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Onboarding\Setup\Handlers; |
| 4 | |
| 5 | defined('ABSPATH') || exit; |
| 6 | |
| 7 | interface RequestHandler |
| 8 | { |
| 9 | |
| 10 | /** |
| 11 | * Determines if a request should be handled and then handles it. |
| 12 | * |
| 13 | * @since 2.8.0 |
| 14 | * |
| 15 | * @return null |
| 16 | */ |
| 17 | public function maybeHandle(); |
| 18 | |
| 19 | /** |
| 20 | * Handles a request. |
| 21 | * |
| 22 | * @since 2.8.0 |
| 23 | * |
| 24 | * @return null |
| 25 | */ |
| 26 | public function handle(); |
| 27 | } |
| 28 |