KapostService::struct_to_assoc
Converts a struct to an associtive array based on the key value pair in the struct
Signature
protected function struct_to_assoc(array
$struct )
Parameters
$struct
— array- Input struct to be converted
Returns
- array
- Associtive array matching the struct