| 1 | <?php |
||
| 5 | class DateRange extends Filter |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $template = 'laravel-grid::filters.date_range'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $separator = ' - '; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return string |
||
| 19 | */ |
||
| 20 | public function render() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function getTemplate(): string |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $template |
||
| 39 | * @return $this |
||
| 40 | */ |
||
| 41 | public function setTemplate(string $template) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getSeparator(): string |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param string $separator |
||
| 58 | * @return $this |
||
| 59 | */ |
||
| 60 | public function setSeparator(string $separator) |
||
| 66 | |||
| 67 | /** |
||
| 68 | * @return string |
||
| 69 | */ |
||
| 70 | public function getOperator() |
||
| 80 | } |
||
| 81 |