19 declare(strict_types=1);
37 return new Term\TermSessionRepository();
42 return new Flashcard\FlashcardTermDBRepository($this->db, $this->data);
47 return new Flashcard\FlashcardBoxDBRepository($this->db, $this->data);
52 return new Flashcard\FlashcardSessionRepository();
57 return new Presentation\PresentationSessionRepository();
60 public function settings(): SettingsDBRepository
62 return self::$instance[
"settings"] ??=
new SettingsDBRepository(
__construct(protected InternalDataService $data, protected \ilDBInterface $db)