visuddhinanda 6 дней назад
Родитель
Сommit
d0b65a1792
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      api-v13/app/Console/Commands/UpdateCorpus.php

+ 5 - 0
api-v13/app/Console/Commands/UpdateCorpus.php

@@ -20,15 +20,20 @@ class UpdateCorpus extends Command
      */
      */
     protected SentenceService $sentenceService;
     protected SentenceService $sentenceService;
 
 
+    protected TermService $termService;
+
     /**
     /**
      * Create a new command instance.
      * Create a new command instance.
      *
      *
      * @param SentenceService $sentenceService
      * @param SentenceService $sentenceService
      */
      */
     public function __construct(SentenceService $sentenceService)
     public function __construct(SentenceService $sentenceService)
+    {
+    public function __construct(SentenceService $sentenceService, TermService $termService)
     {
     {
         parent::__construct();
         parent::__construct();
         $this->sentenceService = $sentenceService;
         $this->sentenceService = $sentenceService;
+        $this->termService = $termService;
     }
     }
 
 
     /**
     /**