$DECIMAL_POINT
$DECIMAL_POINT :
The "version" dynamic value extractor extracts a dynamic value and ensures it is a version value.
__construct( $delimitersBeforeHandler, $delimitersAfterHandler, $prefix, $keepPrefix, $decimalSeperator, $suffixAllowed, $suffixSeperator)
| $delimitersBeforeHandler | ||
| $delimitersAfterHandler | ||
| $prefix | ||
| $keepPrefix | ||
| $decimalSeperator | ||
| $suffixAllowed | ||
| $suffixSeperator |
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.
| 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 |
The dynamic value string or null if no dynamic value found.
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()
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()
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()
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()
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()
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()
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