コード例 #1
0
 /**
  * {@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()]];
 }
コード例 #2
0
 /**
  * {@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()];
 }
コード例 #3
0
 /**
  * {@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];
 }