ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct (array $settings=[]) | |
Constructor. More... | |
get ($key, $default=null) | |
Get a setting. More... | |
has ($key) | |
Check if an item exists by key. More... | |
set ($key, $value) | |
Set a setting. More... | |
setFallback (Config $fallback) | |
Set the fallback. More... | |
Protected Member Functions | |
getDefault ($key, $default) | |
Try to retrieve a default setting from a config fallback. More... | |
Protected Attributes | |
$settings = [] | |
$fallback | |
Definition at line 5 of file Config.php.
League\Flysystem\Config::__construct | ( | array | $settings = [] | ) |
Constructor.
array | $settings |
Definition at line 22 of file Config.php.
References League\Flysystem\Config\$settings, and settings().
League\Flysystem\Config::get | ( | $key, | |
$default = null |
|||
) |
Get a setting.
string | $key | |
mixed | $default |
Definition at line 35 of file Config.php.
References $key, League\Flysystem\Config\getDefault(), and settings().
Referenced by League\Flysystem\Adapter\Local\createDir(), League\Flysystem\Adapter\NullAdapter\write(), League\Flysystem\Adapter\Local\write(), League\Flysystem\Adapter\Local\writeStream(), and League\Flysystem\Adapter\Ftp\writeStream().
|
protected |
Try to retrieve a default setting from a config fallback.
string | $key | |
mixed | $default |
Definition at line 70 of file Config.php.
References $default, and $key.
Referenced by League\Flysystem\Config\get().
League\Flysystem\Config::has | ( | $key | ) |
Check if an item exists by key.
string | $key |
Definition at line 51 of file Config.php.
References $key, League\Flysystem\Config\has(), and settings().
Referenced by League\Flysystem\Config\has().
League\Flysystem\Config::set | ( | $key, | |
$value | |||
) |
Set a setting.
string | $key | |
mixed | $value |
Definition at line 87 of file Config.php.
References $key, and settings().
League\Flysystem\Config::setFallback | ( | Config | $fallback | ) |
Set the fallback.
Config | $fallback |
Definition at line 101 of file Config.php.
References League\Flysystem\Config\$fallback.
|
protected |
Definition at line 15 of file Config.php.
Referenced by League\Flysystem\Config\setFallback().
|
protected |
Definition at line 10 of file Config.php.
Referenced by League\Flysystem\Config\__construct().