* Project name: Battles-Game */ class n { private static $_instance = null; private function __clone() {} private function __construct() {} public static function show($userId) { if (!self::$_instance) { self::$_instance = nick::search($userId)->geninf(); } return self::$_instance; } }