<?php namespace Zara4\API\Communication;


class Config {

  const VERSION    = '1.2.3';
  const USER_AGENT = 'Zara 4 PHP-SDK, Version-1.2.3';

  const PRODUCTION_API_ENDPOINT = "https://api.zara4.com";
  const DEVELOPMENT_API_ENDPOINT = "http://api.zara4.dev";

  public static $BASE_URL = self::PRODUCTION_API_ENDPOINT;


  // --- --- --- --- ---


  /**
   * Get the base url.
   *
   * @return string
   */
  public static function BASE_URL() {
    return self::$BASE_URL;
  }


  /**
   * Set the base url
   *
   * @param $baseUrl
   */
  public static function setBaseUrl($baseUrl) {
    self::$BASE_URL = $baseUrl;
  }


  /**
   * Configure production mode.
   */
  public static function enterProductionMode() {
    self::setBaseUrl(self::PRODUCTION_API_ENDPOINT);
  }


  /**
   * Configure development mode.
   */
  public static function enterDevelopmentMode() {
    self::setBaseUrl(self::DEVELOPMENT_API_ENDPOINT);
  }





} 
<?php namespace Zara4\API\Communication;


class Config {

  const VERSION    = '1.1.0';
  const USER_AGENT = 'Zara 4 PHP-SDK, Version-1.1.0';

  const PRODUCTION_API_ENDPOINT = "https://api.zara4.com";
  const DEVELOPMENT_API_ENDPOINT = "http://api.zara4.dev";

  private static $BASE_URL = self::PRODUCTION_API_ENDPOINT;


  // --- --- --- --- ---


  /**
   * Get the base url.
   *
   * @return string
   */
  public static function BASE_URL() {
    return self::$BASE_URL;
  }


  /**
   * Configure production mode.
   */
  public static function enterProductionMode() {
    self::$BASE_URL = self::PRODUCTION_API_ENDPOINT;
  }


  /**
   * Configure development mode.
   */
  public static function enterDevelopmentMode() {
    self::$BASE_URL = self::DEVELOPMENT_API_ENDPOINT;
  }


} 
--- 
+++ 
@@ -3,13 +3,13 @@
 
 class Config {
 
-  const VERSION    = '1.1.0';
-  const USER_AGENT = 'Zara 4 PHP-SDK, Version-1.1.0';
+  const VERSION    = '1.2.3';
+  const USER_AGENT = 'Zara 4 PHP-SDK, Version-1.2.3';
 
   const PRODUCTION_API_ENDPOINT = "https://api.zara4.com";
   const DEVELOPMENT_API_ENDPOINT = "http://api.zara4.dev";
 
-  private static $BASE_URL = self::PRODUCTION_API_ENDPOINT;
+  public static $BASE_URL = self::PRODUCTION_API_ENDPOINT;
 
 
   // --- --- --- --- ---
@@ -26,10 +26,20 @@
 
 
   /**
+   * Set the base url
+   *
+   * @param $baseUrl
+   */
+  public static function setBaseUrl($baseUrl) {
+    self::$BASE_URL = $baseUrl;
+  }
+
+
+  /**
    * Configure production mode.
    */
   public static function enterProductionMode() {
-    self::$BASE_URL = self::PRODUCTION_API_ENDPOINT;
+    self::setBaseUrl(self::PRODUCTION_API_ENDPOINT);
   }
 
 
@@ -37,8 +47,11 @@
    * Configure development mode.
    */
   public static function enterDevelopmentMode() {
-    self::$BASE_URL = self::DEVELOPMENT_API_ENDPOINT;
+    self::setBaseUrl(self::DEVELOPMENT_API_ENDPOINT);
   }
 
 
+
+
+
 } 
Update communication configuration class to allow the base url to be set for the purpose of testing
