ILIAS  release_7 Revision v7.30-3-g800a261c036
FilesystemsAware.php
Go to the documentation of this file.
1<?php
2declare(strict_types=1);
3
4namespace ILIAS\Filesystem;
5
17{
18
22 private static $filesystems;
23
29 private static function filesystems() : Filesystems
30 {
31 if (is_null(self::$filesystems)) {
32 global $DIC;
33 self::$filesystems = $DIC->filesystem();
34 }
35
36 return self::$filesystems;
37 }
38}
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: goto.php:24
Class Filesystems The Filesystems interface defines the access methods which can be used to fetch the...
Definition: Filesystems.php:15
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.