Icicle\Http\Message\Uri::withUser PHP Method

withUser() public method

Returns a new instance with the given user and password. Use null for $user to remove user info.
public withUser ( string $user, string $password = null ) : Icicle\Http\Message\Uri
$user string
$password string
return Icicle\Http\Message\Uri
    public function withUser(string $user, string $password = null) : Uri;