item_revision_service
class item_revision_service implements item_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 38
__construct(item_revision_repository_interface $revision_repo)
Constructor.
at line 50
void
create_revision(item_interface|null $old, item_interface|null $new)
Register a revision (snapshot) based on the operation context.