/** * Returns a new Date object representing the end of the current week. * * @return Date * * @since 2.0.0 */ public function endOfWeek() { return new static($this->datetime->endOfWeek()); }