ILIAS  release_7 Revision v7.30-3-g800a261c036
FilesystemsImpl.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
3namespace ILIAS\Filesystem;
4
12final class FilesystemsImpl implements Filesystems
13{
14
22 private $libs;
26 private $storage;
30 private $web;
34 private $temp;
38 private $customizing;
39
49 public function __construct(
54 FileSystem $libs,
55 FileSystem $node_modules
56 ) {
57 $this->storage = $storage;
58 $this->web = $web;
59 $this->temp = $temp;
61 $this->libs = $libs;
62 $this->node_modules = $node_modules;
63 }
64
68 public function web() : Filesystem
69 {
70 return $this->web;
71 }
72
76 public function storage() : Filesystem
77 {
78 return $this->storage;
79 }
80
84 public function temp() : Filesystem
85 {
86 return $this->temp;
87 }
88
92 public function customizing() : Filesystem
93 {
94 return $this->customizing;
95 }
96
100 public function libs() : Filesystem
101 {
102 return $this->libs;
103 }
104
108 public function nodeModules() : Filesystem
109 {
110 return $this->node_modules;
111 }
112}
An exception for terminatinating execution or to throw for unit testing.
Class FilesystemsImpl The Filesystems implementation holds the configuration for the filesystem servi...
__construct(Filesystem $storage, Filesystem $web, Filesystem $temp, Filesystem $customizing, FileSystem $libs, FileSystem $node_modules)
FilesystemsImpl constructor.
Class Filesystems The Filesystems interface defines the access methods which can be used to fetch the...
Definition: Filesystems.php:15
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...