Stellar PHP SDK API Documentation

Principals extends IteratorIterator
in package

Collection of PointOfContact objects from the stellar.toml file.

Provides an iterable collection for managing multiple principal entries from the [[PRINCIPALS]] section of the stellar.toml file.

Table of Contents

Methods

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

Methods

count()

Returns the number of principals in the collection.

public count() : int
Return values
int

The count of principals


        
On this page

Search results