revision_service
class revision_service implements revision_service_interface
| internal |
Revision service.
Responsible for creating historical snapshots (Revisions) of Items. This ensures that we have a full history of the item's state at any point in time.
Methods
void
create_revision(item_interface|null $old, item_interface|null $new)
Register a revision (snapshot) based on the operation context.
Details
at line 41
__construct(revision_repository_interface $revision_repo)
Constructor.
at line 53
void
create_revision(item_interface|null $old, item_interface|null $new)
Register a revision (snapshot) based on the operation context.