| 1 | <?php |
||
| 8 | class DateTimeRangeStrategy extends AbstractStrategy |
||
| 9 | { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * {@inheritdoc} |
||
| 13 | */ |
||
| 14 | public function handle($args = []) |
||
| 43 | |||
| 44 | |||
| 45 | /** |
||
| 46 | * Run datetime strategy |
||
| 47 | * |
||
| 48 | * @param string|\DateTime $datetime |
||
| 49 | * @param string $operator |
||
| 50 | * |
||
| 51 | * @return bool |
||
| 52 | */ |
||
| 53 | public function runDateTimeStrategy($datetime, $operator = '>=') |
||
| 68 | } |
||
| 69 |