Stellar PHP SDK API Documentation

ParametersResponse extends IteratorIterator

Collection of Soroban contract function parameters

Provides an iterable collection of ParameterResponse objects representing all parameters passed to a smart contract function. Supports iteration, counting, and conversion to array. Used in InvokeHostFunctionOperationResponse to represent function arguments.

Table of Contents

Methods

__construct()  : mixed
add()  : void
Adds a parameter to the collection
count()  : int
Gets the number of parameters in the collection
current()  : ParameterResponse
toArray()  : array<string|int, ParameterResponse>

Methods

count()

Gets the number of parameters in the collection

public count() : int
Return values
int

The parameter count


        
On this page

Search results