public function anchorBillingCycleOn($date = 'now')
    {
        if ($date instanceof DateTimeInterface) {
            $date = $date->getTimestamp();
        }

        $this->billingCycleAnchor = $date;

        return $this;
    }
public function anchorBillingCycleOn($date = 'now')
    {
        if ($date instanceof DateTimeInterface) {
            $date = $date->getTimestamp();
        }

        $this->billingCycleAnchor = $date;

        return $this;
    }
public function anchorBillingCycleOn ( $ date = 'now' ) { if ( $ date instanceof DateTimeInterface ) { $ date = $ date -> getTimestamp ( ) ; } $ this -> billingCycleAnchor = $ date ; return $ this ; }
Change the billing cycle anchor on a plan change.

@param  \DateTimeInterface|int|string  $date
@return $this
Change the billing cycle anchor on a plan change .