src/Carbon/Traits/Rounding.php
public function roundWeek($weekStartsAt = null)
    {
        return $this->closest($this->copy()->floorWeek($weekStartsAt), $this->copy()->ceilWeek($weekStartsAt));
    }
public function roundWeek($weekStartsAt = null)
    {
        return $this->closest($this->copy()->floorWeek($weekStartsAt), $this->copy()->ceilWeek($weekStartsAt));
    }
public function roundWeek ( $ weekStartsAt = null ) { return $ this -> closest ( $ this -> copy ( ) -> floorWeek ( $ weekStartsAt ) , $ this -> copy ( ) -> ceilWeek ( $ weekStartsAt ) ) ; }
Round the current instance week.

@param int $weekStartsAt optional start allow you to specify the day of week to use to start the week

@return CarbonInterface
Round the current instance week .