ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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}
This class is used to configure the local filesystem adapter.
Definition: LocalConfig.php:30
getLocal(LocalConfig $config, bool $read_only=false)
Creates a local filesystem instance with the given configuration.
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...