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\Style\Content;
22
27use ILIAS\Repository\RepoServiceBase;
28
30{
31 use RepoServiceBase;
32
33 protected ilDBInterface $db;
40
41 public function __construct(
42 InternalDataService $data_factory,
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 $this->irss()
64 );
65 $this->characteristic_copy_paste_repo =
67 }
68
69 public function characteristic(
71 return $this->characteristic_repo;
72 }
73
74 public function characteristicCopyPaste(
76 return $this->characteristic_copy_paste_repo;
77 }
78
79 public function color(): ColorDBRepo
80 {
81 return $this->color_repo;
82 }
83
84 public function image(): ImageFileRepo
85 {
86 return $this->image_repo;
87 }
88
89 public function repositoryContainer(): Container\ContainerDBRepository
90 {
92 $this->db
93 );
94 }
95
100 public function object(): Object\ObjectDBRepository
101 {
102 return new Object\ObjectDBRepository(
103 $this->db
104 );
105 }
106
111 public function style(): StyleRepo
112 {
113 return new StyleRepo(
114 $this->db,
115 $this->data_factory,
116 $this->irss()
117 );
118 }
119
120}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
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)
CharacteristicCopyPasteSessionRepo $characteristic_copy_paste_repo
This repo stores infos on repository objects that are using booking managers as a service (resource m...
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface ilDBInterface.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...