Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ( $useGuids=false, $force32Bit=false, $forceNoBigNumber=false, $ignoreSystemNode=false, $enablePecl=false) | |
getBuilder () | |
getCodec () | |
getNodeProvider () | |
getNumberConverter () | |
getRandomGenerator () | |
getTimeGenerator () | |
setTimeProvider (TimeProviderInterface $timeProvider) | |
Fonctions membres protégées | |
buildCodec ($useGuids=false) | |
buildNodeProvider () | |
buildNumberConverter () | |
buildRandomGenerator () | |
buildTimeGenerator (TimeProviderInterface $timeProvider) | |
buildTimeConverter () | |
buildUuidBuilder () | |
hasBigNumber () | |
is64BitSystem () | |
Attributs privés | |
$disableBigNumber = false | |
$disable64Bit = false | |
$ignoreSystemNode = false | |
$enablePecl = false | |
$builder | |
$codec | |
$nodeProvider | |
$numberConverter | |
$randomGenerator | |
$timeGenerator | |
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 |
|||
) |
Constructs a FeatureSet
for use by a UuidFactory
to determine or set features available to the environment
bool | $useGuids | Whether to build UUIDs using the GuidStringCodec |
bool | $force32Bit | Whether to force the use of 32-bit functionality (primarily for testing purposes) |
bool | $forceNoBigNumber | Whether to disable the use of moontoast/math BigNumber (primarily for testing purposes) |
bool | $ignoreSystemNode | Whether to disable attempts to check for the system host ID (primarily for testing purposes) |
bool | $enablePecl | Whether to enable the use of the PeclUuidTimeGenerator to generate version 1 UUIDs |
Références FeatureSet\$enablePecl, FeatureSet\$ignoreSystemNode, FeatureSet\buildCodec(), FeatureSet\buildNodeProvider(), FeatureSet\buildNumberConverter(), FeatureSet\buildRandomGenerator(), FeatureSet\buildUuidBuilder(), et FeatureSet\setTimeProvider().
|
protected |
Determines which UUID coder-decoder to use and returns the configured codec for this environment
bool | $useGuids | Whether to build UUIDs using the GuidStringCodec |
Référencé par FeatureSet\__construct().
|
protected |
Determines which system node ID provider to use and returns the configured system node ID provider for this environment
Référencé par FeatureSet\__construct().
|
protected |
Determines which number converter to use and returns the configured number converter for this environment
Références FeatureSet\hasBigNumber().
Référencé par FeatureSet\__construct().
|
protected |
Determines which random UUID generator to use and returns the configured random UUID generator for this environment
Référencé par FeatureSet\__construct().
|
protected |
Determines which time converter to use and returns the configured time converter for this environment
Références FeatureSet\hasBigNumber(), et FeatureSet\is64BitSystem().
Référencé par FeatureSet\buildTimeGenerator().
|
protected |
Determines which time-based UUID generator to use and returns the configured time-based UUID generator for this environment
TimeProviderInterface | $timeProvider |
Références FeatureSet\buildTimeConverter().
Référencé par FeatureSet\setTimeProvider().
|
protected |
Determines which UUID builder to use and returns the configured UUID builder for this environment
Références FeatureSet\is64BitSystem().
Référencé par FeatureSet\__construct().
getBuilder | ( | ) |
Returns the builder configured for this environment
Références FeatureSet\$builder.
getCodec | ( | ) |
Returns the UUID UUID coder-decoder configured for this environment
Références FeatureSet\$codec.
getNodeProvider | ( | ) |
Returns the system node ID provider configured for this environment
Références FeatureSet\$nodeProvider.
getNumberConverter | ( | ) |
Returns the number converter configured for this environment
Références FeatureSet\$numberConverter.
getRandomGenerator | ( | ) |
Returns the random UUID generator configured for this environment
Références FeatureSet\$randomGenerator.
getTimeGenerator | ( | ) |
Returns the time-based UUID generator configured for this environment
Références FeatureSet\$timeGenerator.
|
protected |
Returns true if the system has Moontoast\Math\BigNumber
Références FeatureSet\$disableBigNumber.
Référencé par FeatureSet\buildNumberConverter(), et FeatureSet\buildTimeConverter().
|
protected |
Returns true if the system is 64-bit, false otherwise
Références FeatureSet\$disable64Bit.
Référencé par FeatureSet\buildTimeConverter(), et FeatureSet\buildUuidBuilder().
setTimeProvider | ( | TimeProviderInterface | $timeProvider | ) |
Sets the time provider for use in this environment
TimeProviderInterface | $timeProvider |
Références FeatureSet\buildTimeGenerator().
Référencé par FeatureSet\__construct().
|
private |
Référencé par FeatureSet\getBuilder().
|
private |
Référencé par FeatureSet\getCodec().
|
private |
Référencé par FeatureSet\is64BitSystem().
|
private |
Référencé par FeatureSet\hasBigNumber().
|
private |
Référencé par FeatureSet\__construct().
|
private |
Référencé par FeatureSet\__construct().
|
private |
Référencé par FeatureSet\getNodeProvider().
|
private |
Référencé par FeatureSet\getNumberConverter().
|
private |
Référencé par FeatureSet\getRandomGenerator().
|
private |
Référencé par FeatureSet\getTimeGenerator().