code: protected function dispatchSlotsEvent($baseEventName, Page $page, array $slots)
      {
          $eventNames = $this->generateEventNames($baseEventName, $page);
          $event = new SlotsRenderingEvent($slots);
          foreach($eventNames as $eventName) {
              $event = Dispatcher::dispatch($eventName, $event);
          }
  
          return $event->getSlots();
      }
docs: Dispatches the events
  
  @param $baseEventName
  @param \RedKiteCms\FilesystemEntity\Page $page
  @param array $slots
  
  @return array