Stellar PHP SDK API Documentation

TopicFilters extends IteratorIterator

Collection of TopicFilter objects used for filtering events by topics.

Implements iterator pattern for traversing multiple topic filters.

Tags
extends
see
TopicFilter
see
https://developers.stellar.org/network/soroban-rpc/api-reference/methods/getEvents

Table of Contents

Methods

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

Methods

count()

Returns the number of TopicFilter objects in the collection.

public count() : int
Return values
int

The count of topic filters


        
On this page

Search results