ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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.
trait FilesystemsAware
Trait FilesystemsAware.
static filesystems()
Returns the loaded filesystems.
$DIC
Definition: xapitoken.php:46