You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@trigger_error(sprintf('%s() expects an instance of "%s" as first argument since version 3.4. Not passing it is deprecated and will throw a TypeError in 4.0.', __METHOD__, TranslatorInterface::class), E_USER_DEPRECATED);
@@ -66,6 +70,8 @@ public function __construct($translator = null, TranslationReaderInterface $read
66
70
$this->translator = $translator;
67
71
$this->reader = $reader;
68
72
$this->extractor = $extractor;
73
+
$this->defaultTransPath = $defaultTransPath;
74
+
$this->defaultViewsPath = $defaultViewsPath;
69
75
}
70
76
71
77
/**
@@ -153,34 +159,56 @@ protected function execute(InputInterface $input, OutputInterface $output)
if (!$writerinstanceof TranslationWriterInterface) {
52
57
@trigger_error(sprintf('%s() expects an instance of "%s" as first argument since version 3.4. Not passing it is deprecated and will throw a TypeError in 4.0.', __METHOD__, TranslationWriterInterface::class), E_USER_DEPRECATED);
@@ -62,6 +67,8 @@ public function __construct($writer = null, TranslationReaderInterface $reader =
62
67
$this->reader = $reader;
63
68
$this->extractor = $extractor;
64
69
$this->defaultLocale = $defaultLocale;
70
+
$this->defaultTransPath = $defaultTransPath;
71
+
$this->defaultViewsPath = $defaultViewsPath;
65
72
}
66
73
67
74
/**
@@ -149,24 +156,39 @@ protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments