HEX
Server: LiteSpeed
System: Linux server019.our-control-panel.com 4.18.0-553.51.1.lve.1.el8.x86_64 #1 SMP Wed May 14 14:34:57 UTC 2025 x86_64
User: aashishs (1103)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/aashishs/manishjhanepal.com.np/wp-content/plugins/bdthemes-element-pack/base/singleton.php
<?php

namespace ElementPack\Base;

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly.
}


trait Singleton {

    private static $instance;

    public static function instance() {
        if (!self::$instance) {
            self::$instance = new self();
        }

        return self::$instance;
    }
}