original_string: protected function saving($user, array $input)
      {
          $user->setAttribute('email', $input['email']);
          $user->setAttribute('fullname', $input['fullname']);
  
          $this->fireEvent('updating', [$user]);
          $this->fireEvent('saving', [$user]);
  
          $user->saveOrFail();
  
          $this->fireEvent('updated', [$user]);
          $this->fireEvent('saved', [$user]);
      }
code: protected function saving($user, array $input)
      {
          $user->setAttribute('email', $input['email']);
          $user->setAttribute('fullname', $input['fullname']);
  
          $this->fireEvent('updating', [$user]);
          $this->fireEvent('saving', [$user]);
  
          $user->saveOrFail();
  
          $this->fireEvent('updated', [$user]);
          $this->fireEvent('saved', [$user]);
      }
code_tokens: protected function saving ( $ user , array $ input ) { $ user -> setAttribute ( 'email' , $ input [ 'email' ] ) ; $ user -> setAttribute ( 'fullname' , $ input [ 'fullname' ] ) ; $ this -> fireEvent ( 'updating' , [ $ user ] ) ; $ this -> fireEvent ( 'saving' , [ $ user ] ) ; $ user -> saveOrFail ( ) ; $ this -> fireEvent ( 'updated' , [ $ user ] ) ; $ this -> fireEvent ( 'saved' , [ $ user ] ) ; }
docstring: Save user profile.
  
  @param  \Orchestra\Foundation\Auth\User  $user
  @param  array  $input
  
  @return void
docstring_tokens: Save user profile .