Kurt\Google\Analytics\Period::setEndDate PHP Method

setEndDate() public method

Sets the Starting date of the period.
public setEndDate ( Carbon\Carbon $endDate ) : self
$endDate Carbon\Carbon
return self
    public function setEndDate(Carbon $endDate)
    {
        $this->validatePeriod(null, $endDate);
        $this->endDate = $endDate;
        return $this;
    }