\DeviceAtlas\DeviceDynamicVersionExtractor

The "version" dynamic value extractor extracts a dynamic value and ensures it is a version value.

Summary

Methods
Properties
Constants
__construct()
getDynamicValue()
getDelimitersBeforeHandler()
getDelimitersAfterHandler()
getPrefix()
isKeepPrefix()
getDecimalSeperator()
isSuffixAllowed()
getSuffixSeperator()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$DECIMAL_POINT
$dBH
$dAH
$p
$kP
$dS
$sA
$sS
N/A

Properties

$DECIMAL_POINT

$DECIMAL_POINT : 

Type

$dBH

$dBH : 

Type

$dAH

$dAH : 

Type

$p

$p : 

Type

$kP

$kP : 

Type

$dS

$dS : 

Type

$sA

$sA : 

Type

$sS

$sS : 

Type

Methods

__construct()

__construct(  $delimitersBeforeHandler,   $delimitersAfterHandler,   $prefix,   $keepPrefix,   $decimalSeperator,   $suffixAllowed,   $suffixSeperator) 

Parameters

$delimitersBeforeHandler
$delimitersAfterHandler
$prefix
$keepPrefix
$decimalSeperator
$suffixAllowed
$suffixSeperator
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getDynamicValue()

getDynamicValue(string  $identifier, integer  $startIndex) : string|null

Extracts the characters between a valid delimiter (if defined) and up to the next delimiter. By default the ending delimiter is one of the standard set but a custom delimiter can be defined instead. The extracted value is loosely validated to ensure it is a version number and fits the defined version number criteria.

Some extractors may perform validation to ensure the extracted value is compliant.

Parameters

string $identifier

The identifier string to extract the dynamic version value from

integer $startIndex

The character index in the identifier where the dynamic value starts

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

Returns

string|null —

The dynamic value string or null if no dynamic value found.

getDelimitersBeforeHandler()

getDelimitersBeforeHandler() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getDelimitersAfterHandler()

getDelimitersAfterHandler() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getPrefix()

getPrefix() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

isKeepPrefix()

isKeepPrefix() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getDecimalSeperator()

getDecimalSeperator() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

isSuffixAllowed()

isSuffixAllowed() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275

getSuffixSeperator()

getSuffixSeperator() 

Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275