/** * Create an instance of the ETCore class and store it in the static instance * variable. * Essentially this allows for setting the ExactTarget credentials once per * script. * * @param string $userName * @param string $password */ public static function initialize($userName, $password) { $instance = new self(); $instance->userName = $userName; $instance->password = $password; self::$instance = $instance; }