/home/sylamedg/www/wp-content/plugins/connect-polylang-elementor/includes/util/singleton.php
<?php
namespace ConnectPolylangElementor\Util;

defined( 'ABSPATH' ) || exit;


trait Singleton {

	/**
	 * Singleton instance.
	 *
	 * @var self|null
	 */
	private static $instance = null;

	/**
	 * Instantiates Manager.
	 *
	 * @return Manager
	 */
	public static function instance() {

		if ( is_null( self::$instance ) ) {
			self::$instance = new self();
		}

		return self::$instance;

	}

}