src/package/Services/Watcher.php
protected function eventExpired($event)
    {
        $cachedDiff = $this->getCachedEvent($event)->diffInSeconds(Carbon::now());

        return $cachedDiff < $this->config('root.cache.event_timeout', 10);
    }
protected function eventExpired($event)
    {
        $cachedDiff = $this->getCachedEvent($event)->diffInSeconds(Carbon::now());

        return $cachedDiff < $this->config('root.cache.event_timeout', 10);
    }
protected function eventExpired ( $ event ) { $ cachedDiff = $ this -> getCachedEvent ( $ event ) -> diffInSeconds ( Carbon :: now ( ) ) ; return $ cachedDiff < $ this -> config ( 'root.cache.event_timeout' , 10 ) ; }
Check if the event has expired.

@param $event

@return bool
Check if the event has expired .