Sentinel\Repositories\User\SentryUserRepository::__construct PHP Метод

__construct() публичный Метод

Construct a new SentryUser Object
public __construct ( Cartalyst\Sentry\Sentry $sentry, Illuminate\Config\Repository $config, Illuminate\Events\Dispatcher $dispatcher )
$sentry Cartalyst\Sentry\Sentry
$config Illuminate\Config\Repository
$dispatcher Illuminate\Events\Dispatcher
    public function __construct(Sentry $sentry, Repository $config, Dispatcher $dispatcher)
    {
        $this->sentry = $sentry;
        $this->config = $config;
        $this->dispatcher = $dispatcher;
        // Get the Throttle Provider
        $this->throttleProvider = $this->sentry->getThrottleProvider();
        // Enable the Throttling Feature
        $this->throttleProvider->enable();
    }