Saves data to a storage
abstract public save ( array $data ) : VersionPress\ChangeInfos\ChangeInfo | null | ||
$data | array | Associative array with values to save. On `insert`, the $data will contain full entity data plus things like VPID. On further updates, the data will typically contain just the updated values and a VPID (assigned in {@link VersionPress\Database\WpdbMirrorBridge} so that the appropriate file could be located). |
return | VersionPress\ChangeInfos\ChangeInfo | null | Null indicates that the save operation didn't really change anything (may happen). Otherwise, the ChangeInfo object is returned. |