public function __construct(EntityManager $em, EngineInterface $templating, $clientManager, $preferencesService, $publicationService)
{
$this->em = $em;
$this->templating = $templating;
$this->clientManager = $clientManager;
$this->preferencesService = $preferencesService;
$this->publicationService = $publicationService;
}