/** * Returns a new Date object by adding the specified number of years to the current one. * * @param integer $value Number of years to be added. * * @return Date * * @since 2.0.0 */ public function addYears($value) { return new static($this->datetime->addYears($value)); }