| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class DateTimeRangePicker extends Fields\AField |
||
| 19 | { |
||
| 20 | protected ?dt $startTime; |
||
| 21 | protected ?dt $endTime; |
||
| 22 | protected ?string $searchFormat; |
||
| 23 | |||
| 24 | public function __construct(?dt $startTime = null, ?dt $endTime = null, ?string $searchFormat = null, array $attributes = []) |
||
| 25 | { |
||
| 26 | $this->startTime = $startTime; |
||
| 27 | $this->endTime = $endTime; |
||
| 28 | $this->searchFormat = $searchFormat; |
||
| 29 | |||
| 30 | parent::__construct($attributes); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getFilterAction(): string |
||
| 34 | { |
||
| 35 | return IFilterFactory::ACTION_RANGE; |
||
| 36 | } |
||
| 37 | |||
| 38 | public function add(): void |
||
| 41 | } |
||
| 42 | } |
||
| 43 |