NetworkResults
extends Data
in package
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- count() : int
- getIterator() : ArrayIterator
- getRemotes() : array<non-empty-string, RemoteConfig>
- getSelf() : non-empty-string
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
Properties
$data
protected
mixed
$data
= []
$remotes
private
array<non-empty-string, RemoteConfig>
$remotes
a mapping of remote node IDs to their connection details
$self
private
non-empty-string
$self
the identifier for the local node
Methods
__construct()
public
__construct(RemoteConfig>} $params) : mixed
Parameters
- $params : RemoteConfig>}
count()
public
count() : int
Return values
intgetIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIteratorgetRemotes()
public
getRemotes() : array<non-empty-string, RemoteConfig>
Return values
array<non-empty-string, RemoteConfig>getSelf()
public
getSelf() : non-empty-string
Return values
non-empty-string —the identifier for the local node
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Attributes
- #[ReturnTypeWillChange]
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed