src/Connect.php
public static function initialize($projectId, $apiKey) {
        if(!isset(self::$client)) {
            self::$client = new Client($projectId, $apiKey);
        }
        return self::$client;
    }
public static function initialize($projectId, $apiKey) {
        if(!isset(self::$client)) {
            self::$client = new Client($projectId, $apiKey);
        }
        return self::$client;
    }
public static function initialize ( $ projectId , $ apiKey ) { if ( ! isset ( self :: $ client ) ) { self :: $ client = new Client ( $ projectId , $ apiKey ) ; } return self :: $ client ; }
Initializes the Connect client singleton instance
@param $projectId
@param $apiKey
@return Client
Initializes the Connect client singleton instance