ArrayHelper
in package
Table of Contents
Methods
- checkRequiredKeys() : void
- Check if the required keys are present in the body and not empty
Methods
checkRequiredKeys()
Check if the required keys are present in the body and not empty
public
static checkRequiredKeys(array<string|int, mixed> $body, array<string|int, mixed> &$found) : void
Parameters
- $body : array<string|int, mixed>
-
- The body of the request
- $found : array<string|int, mixed>
-
- The array to store found keys and their status