Submit
Path:
~
/
home
/
getwphos
/
public_html
/
sdp
/
wp-content
/
plugins
/
enhanced-text-widget
/
analyst
/
src
/
Core
/
File Content:
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; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
AbstractFactory.php
511 bytes
0644
N4ST4R_ID | Naxtarrr