Properties

$DYNAMIC_VALUE_EXTRACTOR_TYPE_STRING

$DYNAMIC_VALUE_EXTRACTOR_TYPE_STRING : 

Type

$DYNAMIC_VALUE_EXTRACTOR_TYPE_VERSION

$DYNAMIC_VALUE_EXTRACTOR_TYPE_VERSION : 

Type

$DYNAMIC_VALUE_DELIMITERS_BEFORE

$DYNAMIC_VALUE_DELIMITERS_BEFORE : 

Type

$DYNAMIC_VALUE_DELIMITERS_AFTER

$DYNAMIC_VALUE_DELIMITERS_AFTER : 

Type

$DYNAMIC_VALUE_VERSION_PREFIX

$DYNAMIC_VALUE_VERSION_PREFIX : 

Type

$DYNAMIC_VALUE_VERSION_KEEP_PREFIX

$DYNAMIC_VALUE_VERSION_KEEP_PREFIX : 

Type

$DYNAMIC_VALUE_VERSION_DECIMAL_SEP

$DYNAMIC_VALUE_VERSION_DECIMAL_SEP : 

Type

$DYNAMIC_VALUE_VERSION_SUFFIX_ALLOWED

$DYNAMIC_VALUE_VERSION_SUFFIX_ALLOWED : 

Type

$DYNAMIC_VALUE_VERSION_SUFFIX_SEP

$DYNAMIC_VALUE_VERSION_SUFFIX_SEP : 

Type

Methods

getDynamicValueExtractor()

getDynamicValueExtractor(  $extractorType,   $rawExtractor,   $defaultDelimitersHandler) 

Parameters

$extractorType
$rawExtractor
$defaultDelimitersHandler
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

createStringExtractor()

createStringExtractor(array  $rawExtractor, \DeviceAtlas\Device\DelimitersHandler  $defaultDelimitersHandler) : \DeviceAtlas\Device\DynamicStringExtractor

Create the "String" type extractor

"t": "s", t==Extractor Type, s==String Type [mandatory] "db": [integer array] , db==Delimiter before (codepoints) [optional] "da": [integer array] da==Delimiters after (codepoints) [optional] }

Parameters

array $rawExtractor
\DeviceAtlas\Device\DelimitersHandler $defaultDelimitersHandler
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

\DeviceAtlas\Device\DynamicStringExtractor

createVersionExtractor()

createVersionExtractor(array  $rawExtractor, \DeviceAtlas\Device\DelimitersHandler  $defaultDelimitersHandler) : \DeviceAtlas\Device\DynamicVersionExtractor

Create the "Version" type extractor

{ "t":"v", t==Extractor Type, v==Version Type [mandatory] "db": [integer array], db==Delimiter before (codepoints) [optional] "p": "string", p==Version Prefix [optional] "k": true|false, k==Keep Prefix [optional] "ds":"char", ds==Decimal Separator [mandatory] "a": true|false, a==Suffix Allowed [mandatory] "ss":"char", ss==Suffix Separator [optional] "da":[integer array] da==Delimiters after (codepoints) [optional] }

Parameters

array $rawExtractor
\DeviceAtlas\Device\DelimitersHandler $defaultDelimitersHandler
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

\DeviceAtlas\Device\DynamicVersionExtractor