Файловый менеджер - Редактировать - /home/ephorei/www/wp-content/plugins/wp-console/includes/Traits/Singleton.php
Назад
<?php namespace WPConsole\Traits; /** * Singleton Trait * * @since 1.0.0 */ trait Singleton { /** * Singleton class instance holder * * @since 1.0.0 * * @var object */ private static $instance; /** * Make a class instance * * @since 1.0.0 * * @return object */ public static function instance() { if ( ! isset( self::$instance ) && ! ( self::$instance instanceof self ) ) { self::$instance = new self(); if ( method_exists( self::$instance, 'boot' ) ) { self::$instance->boot(); } } return self::$instance; } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка