Skip to content

FallbackNodeProvider

FallbackNodeProvider retrieves the system node ID by stepping through a list of providers until a node ID can be obtained

Properties

providers

private iterable $providers

Methods

__construct

public __construct(iterable<\Ramsey\Uuid\Provider\NodeProviderInterface> $providers): mixed

Parameters:

Parameter Type Description
$providers iterable<\Ramsey\Uuid\Provider\NodeProviderInterface> Array of node providers

getNode

Returns a node ID

public getNode(): \Ramsey\Uuid\Type\Hexadecimal

Return Value:

The node ID as a hexadecimal string



Automatically generated on 2025-03-18