ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
League\Flysystem Namespace Reference

Namespaces

namespace  Adapter
 
namespace  Plugin
 
namespace  Util
 

Data Structures

interface  AdapterInterface
 
class  Config
 
class  Directory
 
class  Exception
 
class  File
 
class  FileExistsException
 
class  FileNotFoundException
 
class  Filesystem
 @method array getWithMetadata(string $path, array $metadata) @method bool forceCopy(string $path, string $newpath) @method bool forceRename(string $path, string $newpath) @method array listFiles(string $path = '', boolean $recursive = false) @method array listPaths(string $path = '', boolean $recursive = false) @method array listWith(array $keys = [], $directory = '', $recursive = false) More...
 
interface  FilesystemInterface
 
class  FilesystemNotFoundException
 Thrown when the MountManager cannot find a filesystem. More...
 
class  Handler
 
class  MountManager
 Class MountManager. More...
 
class  NotSupportedException
 
interface  PluginInterface
 
interface  ReadInterface
 
class  RootViolationException
 
class  SafeStorage
 
class  UnreadableFileException
 
class  Util
 

Functions

 setConfig ($config)
 Set the config. More...
 
 getConfig ()
 Get the Config. More...
 
 prepareConfig (array $config)
 Convert a config array to a Config object with the correct fallback. More...
 

Variables

trait ConfigAwareTrait
 

Function Documentation

◆ getConfig()

League\Flysystem\getConfig ( )

Get the Config.

Returns
Config config object

Definition at line 30 of file ConfigAwareTrait.php.

31 {
32 return $this->config;
33 }
$config
Definition: bootstrap.php:15

References $config.

Referenced by ilSurveyImporter\importXmlRepresentation(), and League\Flysystem\prepareConfig().

+ Here is the caller graph for this function:

◆ prepareConfig()

League\Flysystem\prepareConfig ( array  $config)
protected

Convert a config array to a Config object with the correct fallback.

Parameters
array$config
Returns
Config

Definition at line 42 of file ConfigAwareTrait.php.

43 {
44 $config = new Config($config);
45 $config->setFallback($this->getConfig());
46
47 return $config;
48 }
getConfig()
Get the Config.

References $config, and League\Flysystem\getConfig().

Referenced by League\Flysystem\Filesystem\createDir(), League\Flysystem\Filesystem\put(), League\Flysystem\Filesystem\putStream(), League\Flysystem\Filesystem\update(), League\Flysystem\Filesystem\updateStream(), League\Flysystem\Filesystem\write(), and League\Flysystem\Filesystem\writeStream().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setConfig()

League\Flysystem\setConfig (   $config)
protected

Set the config.

Parameters
Config | array | null$config

Definition at line 20 of file ConfigAwareTrait.php.

21 {
22 $this->config = $config ? Util::ensureConfig($config) : new Config;
23 }

References $config, and League\Flysystem\Util\ensureConfig().

Referenced by League\Flysystem\Filesystem\__construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ ConfigAwareTrait

trait League::Flysystem\ConfigAwareTrait
Initial value:
{
protected $config

Definition at line 8 of file ConfigAwareTrait.php.