| 1 | <?php |
||
| 5 | class DateRange extends Filter |
||
| 6 | { |
||
| 7 | protected $type = 'daterange'; |
||
| 8 | |||
| 9 | protected $pickerFormat = 'yyyy-MM-dd'; |
||
| 10 | |||
| 11 | protected $defaultValue = []; |
||
| 12 | |||
| 13 | protected $operator = 'between'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | public function getPickerFormat(): string |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $pickerFormat |
||
| 25 | * |
||
| 26 | * @return DateRange |
||
| 27 | */ |
||
| 28 | public function setPickerFormat(string $pickerFormat): DateRange |
||
| 34 | |||
| 35 | public function toArray() |
||
| 41 | } |
||
| 42 |