public function __construct(EntityManager $em, PublicationService $publicationService, CacheService $cacheService) { $this->em = $em; $this->publicationService = $publicationService; $this->cacheService = $cacheService; }