public function setUp() { parent::setUp(); $this->cacheValidator = $this->getContainer()->get('kunstmaan_translator.service.translator.cache_validator'); $this->languages = array('nl', 'fr', 'de', 'es'); $this->cacheDir = sprintf('%s/translations/', $this->getContainer()->getParameter('kernel.cache_dir')); if (!is_dir($this->cacheDir)) { mkdir($this->cacheDir, 0777, true); } }
public function setUp() { parent::setUp(); $this->exporter = $this->getContainer()->get('kunstmaan_translator.service.exporter.exporter'); }
public function setUp() { parent::setUp(); $this->importer = $this->getContainer()->get('kunstmaan_translator.service.importer.importer'); $this->translationRepository = $this->getContainer()->get('kunstmaan_translator.repository.translation'); }
public function setUp() { parent::setUp(); $this->migrationsService = $this->getContainer()->get('kunstmaan_translator.service.migrations.migrations'); }
public function setUp() { parent::setUp(); $this->importCommandHandler = $this->getContainer()->get('kunstmaan_translator.service.importer.command_handler'); }