Documentation

TrimTransformer
in package

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

Tags
author

DeviceAtlas Limited

Table of Contents

Properties

$pTR  : mixed
$sTR  : mixed

Methods

__construct()  : mixed
getPrefixToRemove()  : mixed
getSuffixToRemove()  : mixed
transform()  : mixed
shouldTrimPrefix()  : mixed
shouldTrimSuffix()  : mixed

Properties

Methods

__construct()

public __construct(mixed $prefixToRemove, mixed $suffixToRemove) : mixed
Parameters
$prefixToRemove : mixed
$suffixToRemove : mixed

transform()

public transform(mixed $inputValue) : mixed
Parameters
$inputValue : mixed

shouldTrimPrefix()

private shouldTrimPrefix(mixed $inputValue) : mixed
Parameters
$inputValue : mixed

shouldTrimSuffix()

private shouldTrimSuffix(mixed $inputValue) : mixed
Parameters
$inputValue : mixed

        
On this page

Search results