Property | Type | Description | |
---|---|---|---|
$parameterNameMapper | array | Maps a human readable name used when initializing the compound parameter into the real name used in the payload. | |
$parameters | array | After translating the human readable names into the payload ones, this collections contains the map for the payload names and the values to be sent. | |
$readableParameters | array | After translating the human readable names into the payload ones, this collections contains the map for the payload names and the values to be sent. | |
$requiredParameters | array | They are in the same human readable name as in the mapper above. |
Method | Description | |
---|---|---|
__construct ( array $compoundData ) | Validates the required parameters are passed, then translates using the mapper to later save along with the values. | |
getParameters ( ) | ||
getReadableParameters ( ) |
Method | Description | |
---|---|---|
saveCompoundParameterData ( array $compoundData ) | Translates the human readable names into the payload ones and saves them along with the values. |
public __construct ( array $compoundData ) | ||
$compoundData | array |
protected saveCompoundParameterData ( array $compoundData ) | ||
$compoundData | array |
protected array $parameterNameMapper | ||
return | array |
protected array $parameters | ||
return | array |
protected array $readableParameters | ||
return | array |
protected array $requiredParameters | ||
return | array |