protected function parseDateInterval($delay)
    {
        if ($delay instanceof DateInterval) {
            $delay = Carbon::now()->add($delay);
        }

        return $delay;
    }
protected function parseDateInterval($delay)
    {
        if ($delay instanceof DateInterval) {
            $delay = Carbon::now()->add($delay);
        }

        return $delay;
    }
protected function parseDateInterval ( $ delay ) { if ( $ delay instanceof DateInterval ) { $ delay = Carbon :: now ( ) -> add ( $ delay ) ; } return $ delay ; }
If the given value is an interval, convert it to a DateTime instance.

@param  \DateTimeInterface|\DateInterval|int  $delay
@return \DateTimeInterface|int
If the given value is an interval convert it to a DateTime instance .