ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FilesystemsAware.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Filesystem;
22
31{
32 private static Filesystems $filesystems;
33
37 private static function filesystems(): Filesystems
38 {
39 if (!isset(self::$filesystems)) {
40 global $DIC;
41 self::$filesystems = $DIC->filesystem();
42 }
43
44 return self::$filesystems;
45 }
46}
trait FilesystemsAware
Trait which ease the filesystem integration within legacy ILIAS components.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static filesystems()
Returns the loaded filesystems.
global $DIC
Definition: shib_login.php:26