/** * {@inheritdoc} */ public function collect(Request $request, Response $response, \Exception $exception = null) { $this->data = ['mongodb_enabled' => $this->isMongoDbEnabled(), 'product_value_count' => $this->productValueRepository->count(), 'require_mongodb' => !($this->isMongoDbEnabled() || !$this->isMongoDbRequired()), 'version' => ['patch' => $this->versionProvider->getPatch(), 'minor' => $this->versionProvider->getMinor()]]; }
/** * {@inheritdoc} */ public function collect() { return ['pim_edition' => $this->versionProvider->getEdition(), 'pim_version' => $this->versionProvider->getPatch(), 'pim_environment' => $this->environment, 'pim_install_time' => $this->installTime, 'server_version' => $this->getServerVersion()]; }
/** * {@inheritdoc} */ public function collect() { return ['pim_edition' => $this->versionProvider->getEdition(), 'pim_version' => $this->versionProvider->getPatch(), 'pim_storage_driver' => $this->catalogStorage, 'pim_environment' => $this->environment, 'pim_install_time' => $this->installTime]; }