static function getInstance() { // TODO: mind the casing if (self::$instance == NULL) { self::$instance = new Thread(); } return self::$instance; }
public static function getInstance() { // TODO: mind the casing if (self::$instance == null) { self::$instance = new self(); } return self::$instance; }