public static function setPath($path)
    {
      $rf = realpath($path);
      if (is_file($rf))
        throw new \CatapultApiException("Provided folder does not exist");  

      self::$credentials_opts['path'] = realpath($path);
    }
public static function setPath($path)
    {
      $rf = realpath($path);
      if (is_file($rf))
        throw new \CatapultApiException("Provided folder does not exist");  

      self::$credentials_opts['path'] = realpath($path);
    }
public static function setPath ( $ path ) { $ rf = realpath ( $ path ) ; if ( is_file ( $ rf ) ) throw new \ CatapultApiException ( "Provided folder does not exist" ) ; self :: $ credentials_opts [ 'path' ] = realpath ( $ path ) ; }
Sets the path of credentials.json

@param path: path
Sets the path of credentials . json