/**
  * Execute the command.
  *
  * @param ProfilerContract $profiler
  */
 public function handle(ProfilerContract $profiler)
 {
     $profile = UserProfile::create(['user_id' => $this->user->id]);
     Bus::dispatch(new UpdateUserProfile($profile, $this->data));
     return $profile;
 }
 /**
  * Execute the command.
  *
  * @return void
  */
 public function handle()
 {
     return UserProfile::create(['user_id' => $this->user->id]);
 }