Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /home/inteuuod/public_html/wp-content/plugins/suretriggers/src/Traits//SingletonLoader.php
<?php
/**
* SingletonLoader.
* php version 5.6
*
* @category SingletonLoader
* @package SureTriggers
* @author BSF <username@example.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GPLv3
* @link https://www.brainstormforce.com/
* @since 1.0.0
*/
namespace SureTriggers\Traits;
/**
* Trait SingletonLoader
*
* @template SingletonLoader
*
* @category SingletonLoader
* @package SureTriggers\Traits
* @author BSF <username@example.com>
* @license https://www.gnu.org/licenses/gpl-3.0.html GPLv3
* @link https://www.brainstormforce.com/
* @since 1.0.0
*/
trait SingletonLoader {
/**
* Instance
*
* @access public
* @var null|object
* @since 1.0.0
*/
public static $_instance;
/**
* Initiator
*
* @return SingletonLoader|object|null
*
* @since 1.0.0
*/
public static function get_instance() {
if ( empty( self::$_instance ) ) {
self::$_instance = new self();
}
return self::$_instance;
}
}
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | July 10 2025 04:32:23 | inteuuod / inteuuod | 0755 | |
| | | | | |
.htaccess | 0.41 KB | July 10 2025 04:32:23 | inteuuod / inteuuod | 0644 | |
SingletonLoader.php | 0.963 KB | February 21 2023 17:03:46 | inteuuod / inteuuod | 0644 | |