Stellar PHP SDK API Documentation

EffectsResponse extends IteratorIterator

Iterable collection of effect responses

This class provides an iterator-based collection for managing multiple EffectResponse objects. Supports standard iteration operations and array conversion. Used within EffectsPageResponse for effect collections.

Tags
see
EffectResponse
see
EffectsPageResponse

Table of Contents

Methods

__construct()  : mixed
Constructs a new effects collection
add()  : void
Adds an effect to the collection
count()  : int
Gets the number of effects in the collection
current()  : EffectResponse
Gets the current effect in the iteration
toArray()  : array<string|int, EffectResponse>
Converts the collection to an array

Methods

count()

Gets the number of effects in the collection

public count() : int
Return values
int

The effect count


        
On this page

Search results