src/Authentication/Providers/UserProviderDB.php
public function updateRememberToken(AuthenticatableContract $user, $token) {
	    if(!empty($user)) {
	    	// make sure there is a remember_token field available for
	    	// updating before trying to update; otherwise we run into
	    	// an uncatchable exception
	    	if($user->canHaveRememberToken()) {
	    		$user->remember_token = $token;
	    		$user->save();
	    	}
	    }
    }
public function updateRememberToken(AuthenticatableContract $user, $token) {
	    if(!empty($user)) {
	    	// make sure there is a remember_token field available for
	    	// updating before trying to update; otherwise we run into
	    	// an uncatchable exception
	    	if($user->canHaveRememberToken()) {
	    		$user->remember_token = $token;
	    		$user->save();
	    	}
	    }
    }
public function updateRememberToken ( AuthenticatableContract $ user , $ token ) { if ( ! empty ( $ user ) ) { // make sure there is a remember_token field available for // updating before trying to update; otherwise we run into // an uncatchable exception if ( $ user -> canHaveRememberToken ( ) ) { $ user -> remember_token = $ token ; $ user -> save ( ) ; } } }
Updates the Remember Me token for the specified identifier.

@param UserInterface $user The user object whose token is being updated
@param string $token The Remember Me token to update
Updates the Remember Me token for the specified identifier .