X7ROOT File Manager
Current Path:
/home/katmhsmi/katrynrose.com/wp-content/plugins/erropix-hydrogen-pack/src
home
/
katmhsmi
/
katrynrose.com
/
wp-content
/
plugins
/
erropix-hydrogen-pack
/
src
/
📁
..
📄
DynamicClasses.php
(2.85 KB)
📄
DynamicData.php
(1.84 KB)
📄
HydrogenPack.php
(10.08 KB)
📄
SafeObject.php
(1.05 KB)
📄
SandboxController.php
(13 KB)
📄
SettingsManager.php
(33.48 KB)
📄
UI.php
(3.34 KB)
📄
Utils.php
(3.73 KB)
📄
functions.php
(1.27 KB)
Editing: SafeObject.php
<?php namespace ERROPiX\HydrogenPack; /** * Class SafeObject * @package ERROPiX\HydrogenPack */ #[\AllowDynamicProperties] class SafeObject { public function __construct($data = []) { if (is_array($data)) { foreach ($data as $name => $value) { $this->__set($name, $value); } } } public function __set($name, $value) { if (is_array($value)) { $value = new self($value); } $this->$name = $value; } public function __get($name) { if (property_exists($this, $name)) { return $this->$name; } return null; } public function __isset($name) { return property_exists($this, $name); } public function __unset($name) { unset($this->$name); } public function __call($name, $arguments) { return null; } static function __set_state($data = []) { return new self($data); } }
Upload File
Create Folder