private function setTimers($forceRegenerate = false)
    {
        $start = time();

        // If there is no starting point, restart all over again
        if (!$this->has('timer.start', 'session') || $forceRegenerate) {
            $this->set('timer.start', $start, 'session');
            $this->set('timer.last', $start, 'session');
            $this->set('timer.now', $start, 'session');
        }

        // Set current timers
        $this->set('timer.last', $this->get('timer.now', null, 'session'), 'session');
        $this->set('timer.now', time(), 'session');
    }
private function setTimers($forceRegenerate = false)
    {
        $start = time();

        // If there is no starting point, restart all over again
        if (!$this->has('timer.start', 'session') || $forceRegenerate) {
            $this->set('timer.start', $start, 'session');
            $this->set('timer.last', $start, 'session');
            $this->set('timer.now', $start, 'session');
        }

        // Set current timers
        $this->set('timer.last', $this->get('timer.now', null, 'session'), 'session');
        $this->set('timer.now', time(), 'session');
    }
private function setTimers ( $ forceRegenerate = false ) { $ start = time ( ) ; // If there is no starting point, restart all over again if ( ! $ this -> has ( 'timer.start' , 'session' ) || $ forceRegenerate ) { $ this -> set ( 'timer.start' , $ start , 'session' ) ; $ this -> set ( 'timer.last' , $ start , 'session' ) ; $ this -> set ( 'timer.now' , $ start , 'session' ) ; } // Set current timers $ this -> set ( 'timer.last' , $ this -> get ( 'timer.now' , null , 'session' ) , 'session' ) ; $ this -> set ( 'timer.now' , time ( ) , 'session' ) ; }
Set the validation timers.

@param bool $forceRegenerate Forces the timers to regenerate (in case of an expiration or something).
Set the validation timers .