guard()->user(); $this->customer = $customer; } public function guard() { return auth()->guard($this->guardName); } public function guardName() { return $this->guardName; } }