PHP VersionPress\ChangeInfos Namespace

Interfaces

Name Description
ChangeInfo Represents one logical change in the WP site - one row in the main VersionPress table.

Classes

Name Description
BulkChangeInfo
ChangeInfoEnvelope Class representing more changes in one commit
ChangeInfoFactory It creates new instances of TrackedChangeInfo and EntityChangeInfo classes. It is used especially from storages.
ChangeInfoUtils
CommitMessageParser Parses ChangeInfoEnvelope from a commit message.
EntityChangeInfo Base class for entity change infos like PostChangeInfo, CommentChangeInfo etc.
TrackedChangeInfo Base class for ChangeInfos that are properly tracked by VersionPress. They use commit metadata in form of VP tags to which some useful information is persisted and later read when the main VersionPress table is being rendered. At least the VP-Action tag is always present, something like:
UntrackedChangeInfo Represents commits that were not created by VersionPress and we don't know much about them. This ChangeInfo type is a fallback type when no better match is found by ChangeInfoFactory.