src/Cmsable/Resource/Distributor.php
protected function publish($resource, $event, array $params=[])
    {
        $eventName = $this->eventName("$resource.$event");

        $this->callOnListeners($eventName, $params);
    }
protected function publish($resource, $event, array $params=[])
    {
        $eventName = $this->eventName("$resource.$event");

        $this->callOnListeners($eventName, $params);
    }
protected function publish ( $ resource , $ event , array $ params = [ ] ) { $ eventName = $ this -> eventName ( "$resource.$event" ) ; $ this -> callOnListeners ( $ eventName , $ params ) ; }
Publishes an event on the event bus

@param string $resource
@param string $event
@param array $params
Publishes an event on the event bus