Cartalyst\Sentinel\Users\IlluminateUserRepository::__construct PHP Method

__construct() public method

Create a new Illuminate user repository.
public __construct ( Cartalyst\Sentinel\Hashing\HasherInterface $hasher, Illuminate\Events\Dispatcher $dispatcher = null, string $model = null ) : void
$hasher Cartalyst\Sentinel\Hashing\HasherInterface
$dispatcher Illuminate\Events\Dispatcher
$model string
return void
    public function __construct(HasherInterface $hasher, Dispatcher $dispatcher = null, $model = null)
    {
        $this->hasher = $hasher;
        $this->dispatcher = $dispatcher;
        if (isset($model)) {
            $this->model = $model;
        }
    }