ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.InternalRepoService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\Style\Content;
22 
25 use ilDBInterface;
26 
32 {
33  protected ilDBInterface $db;
39  protected FileUpload $upload;
40 
41  public function __construct(
42  InternalDataService $data_factory,
43  ilDBInterface $db,
44  Filesystem\Filesystem $web_files,
45  FileUpload $upload
46  ) {
47  $this->db = $db;
48  $this->data_factory = $data_factory;
49  $this->upload = $upload;
50 
51  $this->color_repo = new ColorDBRepo(
52  $db,
53  $data_factory
54  );
55  $this->characteristic_repo = new CharacteristicDBRepo(
56  $db,
57  $data_factory
58  );
59  $this->image_repo = new ImageFileRepo(
60  $data_factory,
61  $web_files,
62  $upload
63  );
64  $this->characteristic_copy_paste_repo =
66  }
67 
68  public function characteristic(
70  return $this->characteristic_repo;
71  }
72 
73  public function characteristicCopyPaste(
75  return $this->characteristic_copy_paste_repo;
76  }
77 
78  public function color(): ColorDBRepo
79  {
80  return $this->color_repo;
81  }
82 
83  public function image(): ImageFileRepo
84  {
85  return $this->image_repo;
86  }
87 
88  public function repositoryContainer(): Container\ContainerDBRepository
89  {
91  $this->db
92  );
93  }
94 
99  public function object(): Object\ObjectDBRepository
100  {
101  return new Object\ObjectDBRepository(
102  $this->db
103  );
104  }
105 }
CharacteristicCopyPasteSessionRepo $characteristic_copy_paste_repo
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This repo stores infos on repository objects that are using booking managers as a service (resource m...
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:31
Repository internal repo service.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class FileUpload.
Definition: FileUpload.php:34
Repository internal data service.
This repo stores infos on repository objects that are using booking managers as a service (resource m...
__construct(InternalDataService $data_factory, ilDBInterface $db, Filesystem\Filesystem $web_files, FileUpload $upload)
Class FlySystemFileAccessTest disabled disabled disabled.