public function __construct() { $this->auth = Auth::employer(); }
/** * Logout the employer * * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector */ public function getLogout() { Auth::employer()->logout(); return redirect()->route('employer.login'); }