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