App\Http\Controllers\User\UserController::__construct PHP Method

__construct() public method

UserController constructor.
public __construct ( )
    public function __construct()
    {
        $this->handler = app('xe.user');
        $this->users = app('xe.users');
        $this->groups = app('xe.user.groups');
        $this->emails = app('xe.user.emails');
        $this->pendingMails = app('xe.user.pendingEmails');
        $this->accounts = app('xe.user.accounts');
        $this->user = app('auth')->user();
        XeTheme::selectSiteTheme();
        XePresenter::setSkinTargetId('member/settings');
        $this->middleware('auth');
    }