ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilObjectService.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
23 
25 {
26  protected ilLanguage $lng;
27  protected ilSetting $settings;
29  protected FileUpload $upload;
30 
31  public function __construct(
32  ilLanguage $lng,
33  ilSetting $settings,
34  Filesystems $filesystem,
35  FileUpload $upload
36  ) {
37  $this->lng = $lng;
38  $this->settings = $settings;
39  $this->filesystem = $filesystem;
40  $this->upload = $upload;
41  }
42 
43  public function language(): ilLanguage
44  {
45  return $this->lng;
46  }
47 
48  public function settings(): ilSetting
49  {
50  return $this->settings;
51  }
52 
53  public function filesystem(): Filesystems
54  {
55  return $this->filesystem;
56  }
57 
58  public function upload(): FileUpload
59  {
60  return $this->upload;
61  }
62 
64  {
65  return new ilObjectCommonSettings($this);
66  }
67 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilLanguage $lng, ilSetting $settings, Filesystems $filesystem, FileUpload $upload)
Class FileUpload.
Definition: FileUpload.php:34
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class Filesystems.
Definition: Filesystems.php:29