| 1 |
<?php |
| 2 |
|
| 3 |
|
| 4 |
namespace JFB_Modules\Jobs\Interfaces; |
| 5 |
|
| 6 |
// If this file is called directly, abort. |
| 7 |
if ( ! defined( 'WPINC' ) ) { |
| 8 |
die(); |
| 9 |
} |
| 10 |
|
| 11 |
interface Recurring_Job_It extends Job_It, Time_Based_It { |
| 12 |
|
| 13 |
public function set_interval( int $interval ); |
| 14 |
|
| 15 |
public function get_interval(): int; |
| 16 |
} |
| 17 |
|