Cartalyst\Sentinel\Users\IlluminateUserRepository::__construct PHP 메소드

__construct() 공개 메소드

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
리턴 void
    public function __construct(HasherInterface $hasher, Dispatcher $dispatcher = null, $model = null)
    {
        $this->hasher = $hasher;
        $this->dispatcher = $dispatcher;
        if (isset($model)) {
            $this->model = $model;
        }
    }