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 * @codeCoverageIgnore */ public function start($start) { Deprecation::notice('4.0', 'Use setStart() instead'); return $this->setStart($start); } /** * @deprecated * @codeCoverageIgnore */ public function end($end) { Deprecation::notice('4.0', 'Use setEnd() instead'); return $this->setEnd($end); } }