class RailsBand::ActionView::Event::RenderCollection

def layout

def layout
  return @layout if defined? @layout
  @layout = @event.payload[:layout]&.then { |layout| from_views(layout) }
end