/**
  * {@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()]];
 }
 /**
  * @return int
  */
 public function getProductValueCount()
 {
     return $this->productValueRepository->count();
 }