ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
League\Flysystem Namespace Reference

Namespaces

 Adapter
 
 Plugin
 
 Util
 

Data Structures

interface  AdapterInterface
 
class  Config
 
class  Directory
 
class  Exception
 
class  File
 
class  FileExistsException
 
class  FileNotFoundException
 
class  Filesystem
 array getWithMetadata(string $path, array $metadata) bool forceCopy(string $path, string $newpath) bool forceRename(string $path, string $newpath) array listFiles(string $path = '', boolean $recursive = false) array listPaths(string $path = '', boolean $recursive = false) 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.

References $config.

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

31  {
32  return $this->config;
33  }
+ 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.

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().

43  {
44  $config = new Config($config);
45  $config->setFallback($this->getConfig());
46 
47  return $config;
48  }
getConfig()
Get the Config.
+ 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.

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

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

21  {
22  $this->config = $config ? Util::ensureConfig($config) : new Config;
23  }
+ 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 9 of file ConfigAwareTrait.php.