protected function createCheckpoints(IlluminateActivationRepository $activations, IlluminateThrottleRepository $throttle, $ipAddress)
    {
        $activeCheckpoints = $this->config['checkpoints'];

        $activation = $this->createActivationCheckpoint($activations);

        $throttle = $this->createThrottleCheckpoint($throttle, $ipAddress);

        $checkpoints = [];

        foreach ($activeCheckpoints as $checkpoint) {
            if (! isset($$checkpoint)) {
                throw new InvalidArgumentException("Invalid checkpoint [{$checkpoint}] given.");
            }

            $checkpoints[$checkpoint] = $$checkpoint;
        }

        return $checkpoints;
    }
protected function createCheckpoints(IlluminateActivationRepository $activations, IlluminateThrottleRepository $throttle, $ipAddress)
    {
        $activeCheckpoints = $this->config['checkpoints'];

        $activation = $this->createActivationCheckpoint($activations);

        $throttle = $this->createThrottleCheckpoint($throttle, $ipAddress);

        $checkpoints = [];

        foreach ($activeCheckpoints as $checkpoint) {
            if (! isset($$checkpoint)) {
                throw new InvalidArgumentException("Invalid checkpoint [{$checkpoint}] given.");
            }

            $checkpoints[$checkpoint] = $$checkpoint;
        }

        return $checkpoints;
    }
protected function createCheckpoints ( IlluminateActivationRepository $ activations , IlluminateThrottleRepository $ throttle , $ ipAddress ) { $ activeCheckpoints = $ this -> config [ 'checkpoints' ] ; $ activation = $ this -> createActivationCheckpoint ( $ activations ) ; $ throttle = $ this -> createThrottleCheckpoint ( $ throttle , $ ipAddress ) ; $ checkpoints = [ ] ; foreach ( $ activeCheckpoints as $ checkpoint ) { if ( ! isset ( $ $ checkpoint ) ) { throw new InvalidArgumentException ( "Invalid checkpoint [{$checkpoint}] given." ) ; } $ checkpoints [ $ checkpoint ] = $ $ checkpoint ; } return $ checkpoints ; }
Create activation and throttling checkpoints.

@param  \Cartalyst\Sentinel\Activations\IlluminateActivationRepository  $activations
@param  \Cartalyst\Sentinel\Throttling\IlluminateThrottleRepository  $throttle
@param  string  $ipAddress
@return array
@throws \InvalidArgumentException
Create activation and throttling checkpoints .