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