code: function (options) {
            var opts = calcOptions(options)
            var prefix = new RegExp(['^', opts['prefix']].join(''))
            var all = {}
            var key
  
            for (var keyName in storage) {
              if (storage.hasOwnProperty(keyName) && prefix.test(keyName)) {
                key = keyName.replace(prefix, '')
  
                all[key] = this.getObject(key)
              }
            }
  
            return all
          }
docs: @ngdoc method
  @name $sessionStorage#getAll
  
  @description
  Returns a key value object with all sessionStorage entries
  
  @param {Object} options Options object.
  See {@link ngSessionStorage.$sessionStorageProvider#defaults $sessionStorageProvider.defaults}
  
  @returns {Object} All sessionStorage entries.