ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
FlySystemFilesystemFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
32{
33 public function getLocal(LocalConfig $config, bool $read_only = false): Filesystem
34 {
35 $localFactory = new FlySystemLocalFilesystemFactory();
36
37 return $localFactory->getInstance($config);
38 }
39
40 public function buildFor(string $fqdn_interface, bool $read_only = false): Filesystem
41 {
42 throw new \InvalidArgumentException(sprintf('Interface "%s" is not supported by "%s"', $fqdn_interface, self::class));
43 }
44
45}
This class is used to configure the local filesystem adapter.
Definition: LocalConfig.php:30
The filesystem interface provides the public interface for the Filesystem service API consumer.
Definition: Filesystem.php:37
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...