EventPublisher was replaced by EventsService.publish
EventPublisher
EventsService.publish
use the EventsService via the constructor, setter, or other means instead
EventsService
Deprecated
EventPublisherwas replaced byEventsService.publish