src/Fortifi.php
public static function setEnvironment($env = self::ENV_STAGE)
  {
    $prefix = '';
    if($env === self::ENV_STAGE)
    {
      $prefix = 's';
    }

    static::$apiHost = $prefix . 'api.fortifi.io';
  }
public static function setEnvironment($env = self::ENV_STAGE)
  {
    $prefix = '';
    if($env === self::ENV_STAGE)
    {
      $prefix = 's';
    }

    static::$apiHost = $prefix . 'api.fortifi.io';
  }
public static function setEnvironment ( $ env = self :: ENV_STAGE ) { $ prefix = '' ; if ( $ env === self :: ENV_STAGE ) { $ prefix = 's' ; } static :: $ apiHost = $ prefix . 'api.fortifi.io' ; }
Set the environment to connect to

@param string $env
Set the environment to connect to