You are here

public static function TwitterConf::instance in Twitter 6.3

2 calls to TwitterConf::instance()
Twitter::create_url in ./twitter.lib.php
TwitterOAuth::create_oauth_url in ./twitter.lib.php

File

./twitter.lib.php, line 24
Classes to implement the full Twitter API

Class

TwitterConf
Class TwitterConfig

Code

public static function instance() {
  if (!isset(self::$instance)) {
    $className = __CLASS__;
    self::$instance = new $className();
  }
  return self::$instance;
}