These docs are for an old release.
Info on upgrading to v6
EventSource::remove
Removes all events associated with this source and prevents it from being fetched again.
eventSource.remove()
Must be called on an Event Source instance. See getEventSources and getEventSourceById.