| 1 | <?php |
||
| 10 | class DateTimeStrategy extends AbstractStrategy |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * {@inheritdoc} |
||
| 15 | */ |
||
| 16 | public function handle($args = []) |
||
| 27 | |||
| 28 | |||
| 29 | /** |
||
| 30 | * Compare two datetime objects |
||
| 31 | * |
||
| 32 | * @param DateTime $a |
||
| 33 | * @param DateTime $b |
||
| 34 | * @param string $operator |
||
| 35 | * |
||
| 36 | * @return bool |
||
| 37 | */ |
||
| 38 | protected function compare($a, $b, $operator = '>=') |
||
| 59 | } |
||
| 60 |