ILIAS  release_7 Revision v7.30-3-g800a261c036
FlySystemFilesystemFactory.php
Go to the documentation of this file.
1<?php
2declare(strict_types=1);
3
5
9
17{
18
22 public function getLocal(LocalConfig $config, bool $read_only = false) : Filesystem
23 {
24 $localFactory = new FlySystemLocalFilesystemFactory();
25
26 return $localFactory->getInstance($config);
27 }
28}
An exception for terminatinating execution or to throw for unit testing.
Class LocalConfig This class is used to configure the local filesystem adapter.
Definition: LocalConfig.php:14
getLocal(LocalConfig $config, bool $read_only=false)
@inheritDoc
Class FlySystemLocalFilesystemFactory The local fly system filesystem factory creates instances of th...
Interface Filesystem The filesystem interface provides the public interface for the Filesystem servic...
Definition: Filesystem.php:22
Interface FilesystemFactory The filesystem factory produces different filesystem types.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
Class FlySystemFileAccessTest \Provider\FlySystem @runTestsInSeparateProcesses @preserveGlobalState d...