\DeviceAtlas\DeviceTrimTransformer

Represents a "tt" node (trim transformation) within a "pm" (property mappings) node. Trims a defined prefix and suffix from an input.

Summary

Methods
Properties
Constants
__construct()
transform()
getPrefixToRemove()
getSuffixToRemove()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
shouldTrimPrefix()
shouldTrimSuffix()
$pTR
$sTR
N/A

Properties

$pTR

$pTR : 

Type

$sTR

$sTR : 

Type

Methods

__construct()

__construct(  $prefixToRemove,   $suffixToRemove) 

Parameters

$prefixToRemove
$suffixToRemove
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

transform()

transform(  $inputValue) 

Parameters

$inputValue
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

getPrefixToRemove()

getPrefixToRemove() 

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

getSuffixToRemove()

getSuffixToRemove() 

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

shouldTrimPrefix()

shouldTrimPrefix(  $inputValue) 

Parameters

$inputValue
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

shouldTrimSuffix()

shouldTrimSuffix(  $inputValue) 

Parameters

$inputValue
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