start = $start; $this->end = $end; } public function setStart($start) { $this->start = $start; return $this; } public function setEnd($end) { $this->end = $end; return $this; } public function isFiltered() { return $this->start !== null || $this->end !== null; } /** * @deprecated 4.0.0 Use setStart() instead * @codeCoverageIgnore */ public function start($start) { Deprecation::notice('4.0.0', 'Use setStart() instead'); return $this->setStart($start); } /** * @deprecated 4.0.0 Use setEnd() instead * @codeCoverageIgnore */ public function end($end) { Deprecation::notice('4.0.0', 'Use setEnd() instead'); return $this->setEnd($end); } }