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]);
    }
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]);
    }
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 ] ) ; }
Save user profile.

@param  \Orchestra\Foundation\Auth\User  $user
@param  array  $input

@return void
Save user profile .