61 public function report()
63 if ($this->config->isNewRelicEnabled()) {
64 $moduleData = $this->collect->getModuleData();
65 if (count($moduleData[
'changes']) > 0) {
66 foreach ($moduleData[
'changes'] as
$change) {
71 'action' => $this->jsonEncoder->encode(
$change),
77 'action' => $this->jsonEncoder->encode(
$change),
83 'action' => $this->jsonEncoder->encode(
$change),
89 'action' => $this->jsonEncoder->encode(
$change),
94 $systemModel = $this->systemFactory->create();
95 $systemModel->setData($modelData);
__construct(Config $config, Collect $collect, \Magento\NewRelicReporting\Model\SystemFactory $systemFactory, \Magento\Framework\Json\EncoderInterface $jsonEncoder)