BookStack\Http\Controllers\Auth\LoginController::__construct PHP Метод

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

Create a new controller instance.
public __construct ( SocialAuthService $socialAuthService, UserRepo $userRepo )
$socialAuthService BookStack\Services\SocialAuthService
$userRepo BookStack\Repos\UserRepo
    public function __construct(SocialAuthService $socialAuthService, UserRepo $userRepo)
    {
        $this->middleware('guest', ['only' => ['getLogin', 'postLogin']]);
        $this->socialAuthService = $socialAuthService;
        $this->userRepo = $userRepo;
        $this->redirectPath = baseUrl('/');
        $this->redirectAfterLogout = baseUrl('/login');
        parent::__construct();
    }