Bolt\Legacy\Storage::organizeQueryParameters PHP Method

organizeQueryParameters() private method

This is tightly coupled to $this->getContent()
private organizeQueryParameters ( array | string | null $inParameters = null ) : array
$inParameters array | string | null
return array
    private function organizeQueryParameters($inParameters = null)
    {
        $ctypeParameters = [];
        $metaParameters = [];
        if (is_array($inParameters)) {
            foreach ($inParameters as $key => $value) {
                if (in_array($key, ['page', 'limit', 'offset', 'returnsingle', 'printquery', 'paging', 'order'])) {
                    $metaParameters[$key] = $value;
                } else {
                    $ctypeParameters[$key] = $value;
                }
            }
        }
        return [$metaParameters, $ctypeParameters];
    }