push the array-generation inside of getHTTPQuery() into a separate toArray()-function
introduce ApiParameterMapper-AttributeClass (new php8 feature), using at the getter of each parameter values to generate the former data array (see toArray()-function) automatically with toApiDataArray()-function.
adapt getHttpQuery()-function to use new toApiDataArray()-function instead of toArray()-function
set toArray()-function as deprecated (shall be removed once new concept is bullet prove)
implement temporary test to ensure toArray()-function and toApiDataArray()-function deliver identical content
While working on the parameter generation this PR will improve in addition:
This PR will:
getHTTPQuery()
into a separatetoArray()
-functionApiParameterMapper
-AttributeClass (new php8 feature), using at the getter of each parameter values to generate the former data array (seetoArray()
-function) automatically withtoApiDataArray()
-function.getHttpQuery()
-function to use newtoApiDataArray()
-function instead oftoArray()
-functiontoArray()
-function as deprecated (shall be removed once new concept is bullet prove)toArray()
-function andtoApiDataArray()
-function deliver identical contentWhile working on the parameter generation this PR will improve in addition:
MetaParameters
-classUserDataParameters
-class