| 1 |
<?php |
| 2 |
/** |
| 3 |
* Provides methods to evaluate the current time and date |
| 4 |
* |
| 5 |
* @package SeQura/WC |
| 6 |
* @subpackage SeQura/WC/Services |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace SeQura\WC\Services\Time; |
| 10 |
|
| 11 |
/** |
| 12 |
* Provides methods to evaluate the current time and date |
| 13 |
*/ |
| 14 |
interface Interface_Time_Checker_Service { |
| 15 |
|
| 16 |
/** |
| 17 |
* Check if the current hour value is in the range of the given hours |
| 18 |
* |
| 19 |
* @param int $from The start hour in 24-hour format (0-23). |
| 20 |
* @param int $to The end hour in 24-hour format (0-23). |
| 21 |
*/ |
| 22 |
public function is_current_hour_in_range( $from, $to ): bool; |
| 23 |
} |
| 24 |
|