\DeviceAtlas\DeviceDynamicPropertiesExtractor

Handle the extraction of dynamic properties from identifiers

Summary

Methods
Properties
Constants
extractDynamicProperties()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
extractProperties()
No private properties found
N/A

Methods

extractDynamicProperties()

extractDynamicProperties(  $toFillDynamicProperties,   $component,   $matchResult) 

Extract the dynamic properties from the identifier contained within the matchResult. This assumes that the passed Component has a collection of dynamic extractors defined.

Parameters

$toFillDynamicProperties
$component
$matchResult
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

extractProperties()

extractProperties(  $toFillDynamicProperties,   $component,   $identifier,   $identifierDynamicPropertyPositions) : 

Given a set of dynamic property rules see if they can be used to find a dynamic property from the identifier.

Parameters

$toFillDynamicProperties
$component
$identifier
$identifierDynamicPropertyPositions
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