CODE:

<?php
class Singleton {
	private static $_instance;
	private function __construct() {}
	public static function getInstance() {
		if (self::$_instance instanceof self === false) {
			self::$_instance = new self();
		}
		return self::$_instance;
	}
} Singleton::getInstance()->|; ?>

COMPLETIONS:

[METHOD_DECLARATION]{completion:getInstance(), declSign:, declKey:, key:, name:getInstance, [275,276], relevance=1000000}
