"use strict";

export class LayoutProcessor {
  constructor(layoutProcessorsStore) {
    this.layoutProcessorsStore = layoutProcessorsStore;
  }
  process(layout, commandName) {
    const processors = this.layoutProcessorsStore.getProcessors();
    processors.forEach(processor => {
      layout = processor(layout, commandName);
    });
    return layout;
  }
}
//# sourceMappingURL=LayoutProcessor.js.map