ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.InternalRepoService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Export;
22
23use ILIAS\Repository\RepoServiceBase;
24
26{
27 use RepoServiceBase;
28
29 protected static array $instance = [];
30
31 public function __construct(
32 protected InternalDataService $data,
33 protected \ilDBInterface $db
34 ) {
35 }
36
37 public function html(): HTML\RepoService
38 {
39 return self::$instance['html'] ??= new HTML\RepoService(
40 $this->data->html(),
41 $this->db,
42 $this->irss()
43 );
44 }
45}
__construct(protected InternalDataService $data, protected \ilDBInterface $db)
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...