FallbackNodeProvider
in package
implements
NodeProviderInterface
FallbackNodeProvider retrieves the system node ID by stepping through a list of providers until a node ID can be obtained
Interfaces, Classes, Traits and Enums
- NodeProviderInterface
- A node provider retrieves or generates a node ID
Table of Contents
- $nodeProviders : iteratable<string|int, NodeProviderInterface>
- __construct() : mixed
- getNode() : Hexadecimal
- Returns a node ID
Properties
$nodeProviders
private
iteratable<string|int, NodeProviderInterface>
$nodeProviders
Methods
__construct()
public
__construct(iteratable<string|int, NodeProviderInterface> $providers) : mixed
Parameters
- $providers : iteratable<string|int, NodeProviderInterface>
-
Array of node providers
Return values
mixed —getNode()
Returns a node ID
public
getNode() : Hexadecimal
Return values
Hexadecimal —The node ID as a hexadecimal string