Method |
Description |
|
captureSameAction ( TrackedChangeInfo | ChangeInfoEnvelope $changeInfo1, TrackedChangeInfo | ChangeInfoEnvelope $changeInfo2 ) : boolean |
Returns true if two changeinfos capture the same thing, i.e., if their commits are logically
equivalent. Currently compares that it was the same action on the same entity (incl. VPID)
and that the set of custom VP tags is the same (keys must be the same, values may differ). |
|
containsAction ( ChangeInfoEnvelope | UntrackedChangeInfo $changeInfo, string $fullAction ) : boolean |
|
|
getCustomTagValue ( VersionPress\ChangeInfos\ChangeInfo $changeInfo, string $tagKey ) : string | null |
|
|
getFullAction ( VersionPress\ChangeInfos\ChangeInfo $changeInfo ) : string |
Returns full action such as "post/edit" or "wordpress/update". |
|
getTrackedChangeInfo ( VersionPress\ChangeInfos\ChangeInfo $changeInfo ) : TrackedChangeInfo |
Returns an actionable tracked change info (ChangeInfoEnvelope isn't so it returns its most
important internal changeinfo). |
|
getVpid ( $changeInfo ) |
|
|