Return any changes for the current collection.
public getCollectionChanges ( boolean $ping = false, array $ensure = [] ) : array | ||
$ping | boolean | True if this is a PING request, false otherwise. If true, we only detect that a change has occured, not the data on all of the changes. |
$ensure | array | An array of UIDs that should be sent in the current response if possible, and not put off because of a MOREAVAILABLE situation. @deprecated and no longer used. |
return | array | The changes array. |