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