public function __construct(array $config, \Doctrine\ORM\EntityManager $orm, $cacheService) { $this->config = $config; $this->orm = $orm; $this->cacheService = $cacheService; }