public function save(User $user) : bool
    {
        if (!$user->save()) {
            throw new \RuntimeException($this->i18n->t('setrun/user', 'Saving error'));
        }
        return true;
    }
public function save(User $user) : bool
    {
        if (!$user->save()) {
            throw new \RuntimeException($this->i18n->t('setrun/user', 'Saving error'));
        }
        return true;
    }
public function save ( User $ user ) : bool { if ( ! $ user -> save ( ) ) { throw new \ RuntimeException ( $ this -> i18n -> t ( 'setrun/user' , 'Saving error' ) ) ; } return true ; }
Save user.
@param User $user
@return bool
Save user .