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