$this->when($request->user(), $this->id), 'name' => $this->name, 'email' => $this->when($request->user(), $this->email), ]; } }