src/LocalDate.php
public function plusPeriod(Period $period) : LocalDate
    {
        return $this
            ->plusYears($period->getYears())
            ->plusMonths($period->getMonths())
            ->plusDays($period->getDays());
    }
public function plusPeriod(Period $period) : LocalDate
    {
        return $this
            ->plusYears($period->getYears())
            ->plusMonths($period->getMonths())
            ->plusDays($period->getDays());
    }
public function plusPeriod ( Period $ period ) : LocalDate { return $ this -> plusYears ( $ period -> getYears ( ) ) -> plusMonths ( $ period -> getMonths ( ) ) -> plusDays ( $ period -> getDays ( ) ) ; }
Returns a copy of this LocalDate with the specified Period added.

@param Period $period

@return LocalDate
Returns a copy of this LocalDate with the specified Period added .