ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
FilesystemsAware.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\Filesystem;
4 
15 trait FilesystemsAware
16 {
17 
21  private static $filesystems;
22 
28  private static function filesystems()
29  {
30  if (is_null(self::$filesystems)) {
31  global $DIC;
32  self::$filesystems = $DIC->filesystem();
33  }
34 
35  return self::$filesystems;
36  }
37 }
global $DIC
Definition: saml.php:7
static filesystems()
Returns the loaded filesystems.