Browse Source

add TermService

visuddhinanda 6 days ago
parent
commit
d0b65a1792
1 changed files with 5 additions and 0 deletions
  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 TermService $termService;
+
     /**
      * Create a new command instance.
      *
      * @param SentenceService $sentenceService
      */
     public function __construct(SentenceService $sentenceService)
+    {
+    public function __construct(SentenceService $sentenceService, TermService $termService)
     {
         parent::__construct();
         $this->sentenceService = $sentenceService;
+        $this->termService = $termService;
     }
 
     /**