public static function setSecureEndPoint($endPoint) { if (!is_string($endPoint)) { throw new Exception('TextRazor Error: Invalid HTTPS Endpoint'); } self::$secureEndPoint = $endPoint; }