[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/ramsey/uuid/src/ -> FeatureSet.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: 335 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FeatureSet:: (17 methods):
  __construct()
  getBuilder()
  getCodec()
  getNodeProvider()
  getNumberConverter()
  getRandomGenerator()
  getTimeGenerator()
  setTimeProvider()
  buildCodec()
  buildNodeProvider()
  buildNumberConverter()
  buildRandomGenerator()
  buildTimeGenerator()
  buildTimeConverter()
  buildUuidBuilder()
  hasBigNumber()
  is64BitSystem()


Class: FeatureSet  - X-Ref

FeatureSet detects and exposes available features in the current environment
(32- or 64-bit, available dependencies, etc.)

__construct($useGuids = false,$force32Bit = false,$forceNoBigNumber = false,$ignoreSystemNode = false,$enablePecl = false)   X-Ref
Constructs a `FeatureSet` for use by a `UuidFactory` to determine or set
features available to the environment

param: bool $useGuids Whether to build UUIDs using the `GuidStringCodec`
param: bool $force32Bit Whether to force the use of 32-bit functionality
param: bool $forceNoBigNumber Whether to disable the use of moontoast/math
param: bool $ignoreSystemNode Whether to disable attempts to check for
param: bool $enablePecl Whether to enable the use of the `PeclUuidTimeGenerator`

getBuilder()   X-Ref
Returns the builder configured for this environment

return: UuidBuilderInterface

getCodec()   X-Ref
Returns the UUID UUID coder-decoder configured for this environment

return: CodecInterface

getNodeProvider()   X-Ref
Returns the system node ID provider configured for this environment

return: NodeProviderInterface

getNumberConverter()   X-Ref
Returns the number converter configured for this environment

return: NumberConverterInterface

getRandomGenerator()   X-Ref
Returns the random UUID generator configured for this environment

return: RandomGeneratorInterface

getTimeGenerator()   X-Ref
Returns the time-based UUID generator configured for this environment

return: TimeGeneratorInterface

setTimeProvider(TimeProviderInterface $timeProvider)   X-Ref
Sets the time provider for use in this environment

param: TimeProviderInterface $timeProvider

buildCodec($useGuids = false)   X-Ref
Determines which UUID coder-decoder to use and returns the configured
codec for this environment

param: bool $useGuids Whether to build UUIDs using the `GuidStringCodec`
return: CodecInterface

buildNodeProvider()   X-Ref
Determines which system node ID provider to use and returns the configured
system node ID provider for this environment

return: NodeProviderInterface

buildNumberConverter()   X-Ref
Determines which number converter to use and returns the configured
number converter for this environment

return: NumberConverterInterface

buildRandomGenerator()   X-Ref
Determines which random UUID generator to use and returns the configured
random UUID generator for this environment

return: RandomGeneratorInterface

buildTimeGenerator(TimeProviderInterface $timeProvider)   X-Ref
Determines which time-based UUID generator to use and returns the configured
time-based UUID generator for this environment

param: TimeProviderInterface $timeProvider
return: TimeGeneratorInterface

buildTimeConverter()   X-Ref
Determines which time converter to use and returns the configured
time converter for this environment

return: TimeConverterInterface

buildUuidBuilder()   X-Ref
Determines which UUID builder to use and returns the configured UUID
builder for this environment

return: UuidBuilderInterface

hasBigNumber()   X-Ref
Returns true if the system has `Moontoast\Math\BigNumber`

return: bool

is64BitSystem()   X-Ref
Returns true if the system is 64-bit, false otherwise

return: bool



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