File manager - Edit - /home/palg2351/public_html/wp-content/plugins/jetformbuilder/includes/classes/instance-trait.php
Back
<?php namespace Jet_Form_Builder\Classes; // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } trait Instance_Trait { public static $instance; /** * Instance. * * Ensures only one instance of the plugin class is loaded or can be loaded. * * @return Instance_Trait An instance of the class. * @since 1.0.0 * @access public * @static */ public static function instance() { if ( is_null( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } public static function clear() { self::$instance = null; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0.19 |
proxy
|
phpinfo
|
Settings