public static function getInstence() { if (is_null(self::$singleton)) { self::$singleton = new Singleton(); } return self::$singleton; }
public static function singleton() { return parent::singleton(__CLASS__); }
public static function getInstence() { if (is_null(self::$singleton)) { self::$singleton = new Singleton(); } return self::$singleton; }
public static function singleton() { return parent::singleton(__CLASS__); }