private function cleanKey($node, $key)
    {
        if ($key === '') {
            $key = $node ? (string) count($node) : 0;
            // Found a [] key, so track this to ensure that we disable numeric
            // indexing of keys in the resolved query aggregator.
            $this->numericIndices = false;
        }

        return $key;
    }
private function cleanKey($node, $key)
    {
        if ($key === '') {
            $key = $node ? (string) count($node) : 0;
            // Found a [] key, so track this to ensure that we disable numeric
            // indexing of keys in the resolved query aggregator.
            $this->numericIndices = false;
        }

        return $key;
    }
private function cleanKey ( $ node , $ key ) { if ( $ key === '' ) { $ key = $ node ? ( string ) count ( $ node ) : 0 ; // Found a [] key, so track this to ensure that we disable numeric // indexing of keys in the resolved query aggregator. $ this -> numericIndices = false ; } return $ key ; }
Returns the appropriate key based on the node and key.
Returns the appropriate key based on the node and key .