lib/Traceguide.php
public static function getInstance($group_name = NULL, $access_token = NULL, $opts = NULL) {
        if (!isset(self::$_singleton)) {
            self::$_singleton = self::newRuntime($group_name, $access_token, $opts);
        }
        return self::$_singleton;
    }
public static function getInstance($group_name = NULL, $access_token = NULL, $opts = NULL) {
        if (!isset(self::$_singleton)) {
            self::$_singleton = self::newRuntime($group_name, $access_token, $opts);
        }
        return self::$_singleton;
    }
public static function getInstance ( $ group_name = NULL , $ access_token = NULL , $ opts = NULL ) { if ( ! isset ( self :: $ _singleton ) ) { self :: $ _singleton = self :: newRuntime ( $ group_name , $ access_token , $ opts ) ; } return self :: $ _singleton ; }
Returns the singleton instance of the Runtime.

For convenience, this function can be passed the  $group_name and
$access_token parameters to also initialize the runtime singleton. These
values will be ignored on any calls after the first to getInstance().

@param $group_name Group name to use for the runtime
@param $access_token The project access token
@return \TraceguideBase\Runtime
@throws Exception if the group name or access token is not a valid string
Returns the singleton instance of the Runtime .