private function _dispatchEvent()
 {
     $event = new ReportEvent();
     $event->setFilters($this->_filters);
     $event->addQueryBuilder($this->_queryBuilder);
     $this->_dispatcher->dispatch(Events::USER_SUMMARY_REPORT, $event);
 }
 /**
  * Dispatch effect to apply filters
  */
 private function _dispatchEvent()
 {
     $event = new ReportEvent();
     $event->setFilters($this->_filters);
     $event->addQueryBuilder($this->_queryBuilder);
     $this->_dispatcher->dispatch(self::MAILING_SUBSCRIBER_REPORT, $event);
 }
 /**
  * Builds the Transaction report.
  *
  * @param  ReportEvents\ReportEvent $event
  */
 public function buildTransactionReport(ReportEvents\ReportEvent $event)
 {
     foreach ($this->get('commerce.report.transaction-data') as $query) {
         if ($query instanceof FilterableInterface) {
             $query->setFilters($event->getFilters());
         }
         $event->addQueryBuilder($query->getQueryBuilder());
     }
 }
 public function buildTransactionReport(ReportEvents\ReportEvent $event)
 {
     foreach ($this->get('return.report.transaction-data') as $query) {
         $event->addQueryBuilder($query->setFilters($event->getFilters())->getQueryBuilder());
     }
 }