PATH:
home
/
lab2454c
/
vaultchip.com
/
vendor
/
league
/
flysystem
/
src
<?php namespace League\Flysystem; final class SafeStorage { /** * @var string */ private $hash; /** * @var array */ protected static $safeStorage = []; public function __construct() { $this->hash = spl_object_hash($this); static::$safeStorage[$this->hash] = []; } public function storeSafely($key, $value) { static::$safeStorage[$this->hash][$key] = $value; } public function retrieveSafely($key) { if (array_key_exists($key, static::$safeStorage[$this->hash])) { return static::$safeStorage[$this->hash][$key]; } } public function __destruct() { unset(static::$safeStorage[$this->hash]); } }
[-] ConnectionRuntimeException.php
[edit]
[-] FilesystemNotFoundException.php
[edit]
[-] File.php
[edit]
[+]
Plugin
[+]
..
[-] Config.php
[edit]
[-] InvalidRootException.php
[edit]
[-] RootViolationException.php
[edit]
[-] CorruptedPathDetected.php
[edit]
[-] ConfigAwareTrait.php
[edit]
[-] FilesystemException.php
[edit]
[-] ConnectionErrorException.php
[edit]
[-] Directory.php
[edit]
[-] PluginInterface.php
[edit]
[-] FileNotFoundException.php
[edit]
[-] FilesystemInterface.php
[edit]
[-] FileExistsException.php
[edit]
[-] AdapterInterface.php
[edit]
[-] Util.php
[edit]
[-] SafeStorage.php
[edit]
[-] MountManager.php
[edit]
[-] Handler.php
[edit]
[+]
Util
[-] Exception.php
[edit]
[-] Filesystem.php
[edit]
[+]
Adapter
[-] ReadInterface.php
[edit]
[-] NotSupportedException.php
[edit]
[-] UnreadableFileException.php
[edit]