ILIAS  release_8 Revision v8.24
FilesystemsImpl.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5namespace ILIAS\Filesystem;
6
7/******************************************************************************
8 *
9 * This file is part of ILIAS, a powerful learning management system.
10 *
11 * ILIAS is licensed with the GPL-3.0, you should have received a copy
12 * of said license along with the source code.
13 *
14 * If this is not the case or you just want to try ILIAS, you'll find
15 * us at:
16 * https://www.ilias.de
17 * https://github.com/ILIAS-eLearning
18 *
19 *****************************************************************************/
30final class FilesystemsImpl implements Filesystems
31{
38
39
50 public function __construct(
55 FileSystem $libs,
56 FileSystem $node_modules
57 ) {
58 $this->storage = $storage;
59 $this->web = $web;
60 $this->temp = $temp;
62 $this->libs = $libs;
63 $this->node_modules = $node_modules;
64 }
65
66
70 public function web(): Filesystem
71 {
72 return $this->web;
73 }
74
75
79 public function storage(): Filesystem
80 {
81 return $this->storage;
82 }
83
84
88 public function temp(): Filesystem
89 {
90 return $this->temp;
91 }
92
93
97 public function customizing(): Filesystem
98 {
99 return $this->customizing;
100 }
101
102
106 public function libs(): Filesystem
107 {
108 return $this->libs;
109 }
110
114 public function nodeModules(): Filesystem
115 {
116 return $this->node_modules;
117 }
118}
__construct(Filesystem $storage, Filesystem $web, Filesystem $temp, Filesystem $customizing, FileSystem $libs, FileSystem $node_modules)
FilesystemsImpl constructor.
Class FlySystemFileAccessTest \Provider\FlySystem @runTestsInSeparateProcesses @preserveGlobalState d...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...