protected function isLastActionInTheSameVisit(VisitProperties $visitProperties, Request $request)
    {
        $lastActionTime = $visitProperties->getProperty('visit_last_action_time');

        return isset($lastActionTime)
            && false !== $lastActionTime
            && ($lastActionTime > ($request->getCurrentTimestamp() - $this->visitStandardLength));
    }
protected function isLastActionInTheSameVisit(VisitProperties $visitProperties, Request $request)
    {
        $lastActionTime = $visitProperties->getProperty('visit_last_action_time');

        return isset($lastActionTime)
            && false !== $lastActionTime
            && ($lastActionTime > ($request->getCurrentTimestamp() - $this->visitStandardLength));
    }
protected function isLastActionInTheSameVisit ( VisitProperties $ visitProperties , Request $ request ) { $ lastActionTime = $ visitProperties -> getProperty ( 'visit_last_action_time' ) ; return isset ( $ lastActionTime ) && false !== $ lastActionTime && ( $ lastActionTime > ( $ request -> getCurrentTimestamp ( ) - $ this -> visitStandardLength ) ) ; }
Returns true if the last action was done during the last 30 minutes
@return bool
Returns true if the last action was done during the last 30 minutes