PATH:
home
/
thebhoeo
/
public_html
/
booksfinders.com
/
wp-content__db40bc3
/
themes
/
woodmart
/
inc
/
classes
<?php /** * Singleton pattern class. * * @package xts */ namespace XTS; /** * Singleton pattern class. * * @since 1.0.0 */ class Singleton { /** * Instance of this static object. * * @var array */ private static $instances = []; /** * Get singleton instance. * * @since 1.0.0 * * @return object Current object instance. */ public static function get_instance() { $subclass = static::class; if ( ! isset( self::$instances[ $subclass ] ) ) { self::$instances[ $subclass ] = new static(); self::$instances[ $subclass ]->init(); } return self::$instances[ $subclass ]; } /** * Prevent singleton class clone. * * @since 1.0.0 */ private function __clone() {} /** * Prevent singleton class initialization. * * @since 1.0.0 */ private function __construct() {} }
[-] Stylesstorage.php
[edit]
[-] Wpbcssgenerator.php
[edit]
[-] Registry.php
[edit]
[-] Options.php
[edit]
[-] Themesettingscss.php
[edit]
[-] Singleton.php
[edit]
[-] Googlefonts.php
[edit]
[-] Vctemplates.php
[edit]
[-] Notices.php
[edit]
[-] License.php
[edit]
[+]
..
[-] Layout.php
[edit]
[-] Pagecssfiles.php
[edit]
[-] index.php
[edit]
[-] Api.php
[edit]
[-] Theme.php
[edit]
[-] Config.php
[edit]