FallbackNodeProvider
class FallbackNodeProvider implements NodeProviderInterface (View source)
FallbackNodeProvider attempts to gain the system host ID from an array of providers, falling back to the next in line in the event a host ID can not be obtained
Methods
__construct(array $providers)
Constructs a FallbackNodeProvider
using an array of node providers
string
getNode()
Returns the system node ID by iterating over an array of node providers and returning the first non-empty value found