addGroupCount example

// prepare root entry         // if no data exists for this group         if (!\array_key_exists($key$this->results)) {
            $this->results[$key] = [
                'groups' => [],
                'total' => [],
            ];
        }

        // also increase our count of found items         $this->addGroupCount($key);

        // add new group         $this->addGroupEntry($key$group);

        // add to total aggregation         $this->addGroupAggregationTotal($key$group);
    }

    /** * Gets a list of all found line item quantity entries * for the provided group definition. * * @return LineItemQuantity[] */
Home | Imprint | This part of the site doesn't use cookies.