X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/realesbar/vendor/league/flysystem/src
home
/
gfecatvj
/
sites
/
realesbar
/
vendor
/
league
/
flysystem
/
src
/
📁
..
📁
Adapter
📄
AdapterInterface.php
(2.53 KB)
📄
Config.php
(1.94 KB)
📄
ConfigAwareTrait.php
(851 B)
📄
ConnectionErrorException.php
(146 B)
📄
ConnectionRuntimeException.php
(152 B)
📄
Directory.php
(554 B)
📄
Exception.php
(113 B)
📄
File.php
(4.08 KB)
📄
FileExistsException.php
(699 B)
📄
FileNotFoundException.php
(691 B)
📄
Filesystem.php
(10.01 KB)
📄
FilesystemException.php
(70 B)
📄
FilesystemInterface.php
(7.5 KB)
📄
FilesystemNotFoundException.php
(215 B)
📄
Handler.php
(2.53 KB)
📄
InvalidRootException.php
(146 B)
📄
MountManager.php
(17.07 KB)
📄
NotSupportedException.php
(804 B)
📁
Plugin
📄
PluginInterface.php
(344 B)
📄
ReadInterface.php
(1.54 KB)
📄
RootViolationException.php
(151 B)
📄
SafeStorage.php
(744 B)
📄
UnreadableFileException.php
(345 B)
📁
Util
📄
Util.php
(8.38 KB)
Editing: Config.php
<?php namespace League\Flysystem; class Config { /** * @var array */ protected $settings = []; /** * @var Config|null */ protected $fallback; /** * Constructor. * * @param array $settings */ public function __construct(array $settings = []) { $this->settings = $settings; } /** * Get a setting. * * @param string $key * @param mixed $default * * @return mixed config setting or default when not found */ public function get($key, $default = null) { if ( ! array_key_exists($key, $this->settings)) { return $this->getDefault($key, $default); } return $this->settings[$key]; } /** * Check if an item exists by key. * * @param string $key * * @return bool */ public function has($key) { if (array_key_exists($key, $this->settings)) { return true; } return $this->fallback instanceof Config ? $this->fallback->has($key) : false; } /** * Try to retrieve a default setting from a config fallback. * * @param string $key * @param mixed $default * * @return mixed config setting or default when not found */ protected function getDefault($key, $default) { if ( ! $this->fallback) { return $default; } return $this->fallback->get($key, $default); } /** * Set a setting. * * @param string $key * @param mixed $value * * @return $this */ public function set($key, $value) { $this->settings[$key] = $value; return $this; } /** * Set the fallback. * * @param Config $fallback * * @return $this */ public function setFallback(Config $fallback) { $this->fallback = $fallback; return $this; } }
Upload File
Create Folder