startYear; } /** * Sets start year * * @param int $startYear * @return $this */ public function setStartYear($startYear = null) { if($startYear == null) $startYear = date('Y'); $this->startYear = $startYear; return $this; } /** * Gets end year * * @return int */ public function getEndYear() { return $this->endYear; } /** * Sets end year * * @param int $endYear * @return $this */ public function setEndYear($endYear) { $this->endYear = $endYear; return $this; } }