Stellar PHP SDK API Documentation

EventFilters extends IteratorIterator

Collection of EventFilter objects used in Soroban RPC getEvents requests.

Implements iterator pattern for traversing multiple event filters.

Tags
extends
see
EventFilter
see
https://soroban.stellar.org/api/methods/getEvents

Table of Contents

Methods

__construct()  : mixed
Constructor.
add()  : void
Adds an EventFilter to the collection.
count()  : int
Returns the number of EventFilter objects in the collection.
current()  : EventFilter
Returns the current EventFilter in the iteration.
toArray()  : array<string|int, EventFilter>

Methods

count()

Returns the number of EventFilter objects in the collection.

public count() : int
Return values
int

The count of event filters


        
On this page

Search results