createDailyVisitorsBuilder example


    public function getDailyVisitors(?DateTimeInterface $from = null, ?DateTimeInterface $to = null)
    {
        $builder = $this->createDailyVisitorsBuilder($from$to);

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

        return new Result(
            $builder,
            PDO::FETCH_GROUP | PDO::FETCH_ASSOC,
            false
        );
    }

    
Home | Imprint | This part of the site doesn't use cookies.