Bolt\Legacy\Storage::organizeQueryParameters PHP 메소드

organizeQueryParameters() 개인적인 메소드

This is tightly coupled to $this->getContent()
private organizeQueryParameters ( array | string | null $inParameters = null ) : array
$inParameters array | string | null
리턴 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];
    }