addPagination example


    public function getVisitedReferrer($offset$limit, ?DateTimeInterface $from = null, ?DateTimeInterface $to = null)
    {
        $builder = $this->createVisitedReferrerBuilder($from$to);

        $this->addPagination($builder$offset$limit);

        $builder = $this->eventManager->filter('Shopware_Analytics_VisitedReferrer', $builder[
            'subject' => $this,
        ]);

        return new Result($builder);
    }

    /** * Returns a result which displays the revenue of each referrer. * * @return Result */
Home | Imprint | This part of the site doesn't use cookies.