protected function convertPolicyIdArrayToQueryArray(array $policies)
    {
        $policiesArray = [];
        $policyCounter = 0;

        foreach ($policies as $policy) {
            $policiesArray[Constants::CONTROL_POLICY][$policyCounter] = (string) $policy;
            $policyCounter ++;
        }

        return $policiesArray;
    }
protected function convertPolicyIdArrayToQueryArray(array $policies)
    {
        $policiesArray = [];
        $policyCounter = 0;

        foreach ($policies as $policy) {
            $policiesArray[Constants::CONTROL_POLICY][$policyCounter] = (string) $policy;
            $policyCounter ++;
        }

        return $policiesArray;
    }
protected function convertPolicyIdArrayToQueryArray ( array $ policies ) { $ policiesArray = [ ] ; $ policyCounter = 0 ; foreach ( $ policies as $ policy ) { $ policiesArray [ Constants :: CONTROL_POLICY ] [ $ policyCounter ] = ( string ) $ policy ; $ policyCounter ++ ; } return $ policiesArray ; }
Converts a policies array into an array that can be used for the CMIS request

@param string[] $policies A list of policy string representations
@return array
Converts a policies array into an array that can be used for the CMIS request