protected function cycleCheckpoints($method, UserInterface $user = null, $halt = true)
    {
        if (! $this->checkpointsStatus) {
            return true;
        }

        foreach ($this->checkpoints as $checkpoint) {
            $response = $checkpoint->{$method}($user);

            if ($response === false && $halt === true) {
                return false;
            }
        }

        return true;
    }
protected function cycleCheckpoints($method, UserInterface $user = null, $halt = true)
    {
        if (! $this->checkpointsStatus) {
            return true;
        }

        foreach ($this->checkpoints as $checkpoint) {
            $response = $checkpoint->{$method}($user);

            if ($response === false && $halt === true) {
                return false;
            }
        }

        return true;
    }
protected function cycleCheckpoints ( $ method , UserInterface $ user = null , $ halt = true ) { if ( ! $ this -> checkpointsStatus ) { return true ; } foreach ( $ this -> checkpoints as $ checkpoint ) { $ response = $ checkpoint -> { $ method } ( $ user ) ; if ( $ response === false && $ halt === true ) { return false ; } } return true ; }
Cycles through all the registered checkpoints for a user. Checkpoints
may throw their own exceptions, however, if just one returns false,
the cycle fails.

@param  string  $method
@param  \Cartalyst\Sentinel\Users\UserInterface  $user
@param  bool  $halt
@return bool
Cycles through all the registered checkpoints for a user . Checkpoints may throw their own exceptions however if just one returns false the cycle fails .