start = $start; $this->end = $end; } public function start($start) { $this->start = $start; } public function end($end) { $this->end = $end; } public function isfiltered() { return $this->start !== null || $this->end !== null; } }