ILIAS  release_8 Revision v8.24
FilesystemsAware.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 *****************************************************************************/
31{
32 private static Filesystems $filesystems;
33
39 private static function filesystems(): Filesystems
40 {
41 if (!isset(self::$filesystems)) {
42 global $DIC;
43 self::$filesystems = $DIC->filesystem();
44 }
45
46 return self::$filesystems;
47 }
48}
global $DIC
Definition: feed.php:28
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait FilesystemsAware
Trait FilesystemsAware.
static filesystems()
Returns the loaded filesystems.