src/Security/UserProviderFromConfig.php
public function removeUser($user)
    {
        $username = ($user instanceof UserInformation) ? $user->getUsername() : (string) $user;

        $this->configSource->set('auth-password/' . $username, null);

        return $this;
    }
public function removeUser($user)
    {
        $username = ($user instanceof UserInformation) ? $user->getUsername() : (string) $user;

        $this->configSource->set('auth-password/' . $username, null);

        return $this;
    }
public function removeUser ( $ user ) { $ username = ( $ user instanceof UserInformation ) ? $ user -> getUsername ( ) : ( string ) $ user ; $ this -> configSource -> set ( 'auth-password/' . $ username , null ) ; return $ this ; }
Add the passed credentials in the database.

@param string|UserInformation $user The username to remove.

@return UserProviderFromConfig
Add the passed credentials in the database .