RestoreFootprintOperationBuilder
in package
Builder for creating RestoreFootprint operations.
This builder implements the builder pattern to construct RestoreFootprintOperation instances with a fluent interface. This operation restores archived Soroban contract storage entries, making them active and accessible again.
Tags
Table of Contents
Methods
- __construct() : mixed
- Creates a new RestoreFootprint operation builder.
- build() : RestoreFootprintOperation
- Builds the RestoreFootprint operation.
- setMuxedSourceAccount() : $this
- Sets the muxed source account for this operation.
- setSourceAccount() : $this
- Sets the source account for this operation.
Methods
__construct()
Creates a new RestoreFootprint operation builder.
public
__construct() : mixed
build()
Builds the RestoreFootprint operation.
public
build() : RestoreFootprintOperation
Return values
RestoreFootprintOperation —The constructed operation
setMuxedSourceAccount()
Sets the muxed source account for this operation.
public
setMuxedSourceAccount(MuxedAccount $sourceAccount) : $this
Parameters
- $sourceAccount : MuxedAccount
-
The muxed account to use as source
Return values
$this —Returns the builder instance for method chaining
setSourceAccount()
Sets the source account for this operation.
public
setSourceAccount(string $accountId) : $this
Parameters
- $accountId : string
-
The Stellar account ID (G...)
Return values
$this —Returns the builder instance for method chaining