ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
class.InternalRepoService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\WorkspaceFolder;
22
24
26{
27 protected array $instance = [];
28
29 public function __construct(
30 protected InternalDataService $data,
31 protected \ilDBInterface $db
32 ) {
33 }
34
36 {
37 return $this->instance["work_session"] ??= new WorkspaceSessionRepository();
38 }
39}
__construct(protected InternalDataService $data, protected \ilDBInterface $db)
Interface ilDBInterface.