С точки зрения DDD получение данных из репозириев должно быть в сервисах или в контроллерах?
$counterResidential = $this->getDoctrine()
->getRepository('AppBundle:Realty')
->countByType([Type::TYPES['flat'], Type::TYPES['home']]);
$counterCommercial = $this->getDoctrine()
->getRepository('AppBundle:Realty')
->countByType([Type::TYPES['commercial']]);
$realties = $realtyService->getOnStatus([Status::STATUSES['premium'], Status::STATUSES['top']]);
$about = $this
->getDoctrine()
->getRepository('AppBundle:About')
->findOneBy([]);
$reviews = $this
->getDoctrine()
->getRepository('AppBundle:AgentReview')
->findBy(['is_showing' => true], null, 2, 0);