File manager - Edit - /home/colomboelectrici/public_html/wp-content/plugins/wp-all-import-pro/libraries/League/Flysystem/SafeStorage.php
Back
<?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]); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings