[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/ramsey/uuid/src/Provider/Node/ -> FallbackNodeProvider.php (summary)

This file is part of the ramsey/uuid library For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Copyright: Copyright (c) Ben Ramsey <[email protected]>
License: http://opensource.org/licenses/MIT MIT
File Size: 59 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FallbackNodeProvider:: (2 methods):
  __construct()
  getNode()


Class: FallbackNodeProvider  - X-Ref

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

__construct(array $providers)   X-Ref
Constructs a `FallbackNodeProvider` using an array of node providers

param: NodeProviderInterface[] $providers Array of node providers

getNode()   X-Ref
Returns the system node ID by iterating over an array of node providers
and returning the first non-empty value found

return: string System node ID as a hexadecimal string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer