DeleteHistoryWriteService
in package
implements
DeleteHistoryWriteServiceInterface
Class DeleteHistoryWriteService
Interfaces, Classes and Traits
- DeleteHistoryWriteServiceInterface
- Interface DeleteHistoryWriteServiceInterface
Table of Contents
- $repository : DeleteHistoryRepositoryInterface
- __construct() : mixed
- DeleteHistoryWriteService constructor.
- reportDeletion() : void
- Reports the deletion of an entity with the given id in the given scope.
Properties
$repository
private
DeleteHistoryRepositoryInterface
$repository
Methods
__construct()
DeleteHistoryWriteService constructor.
public
__construct(DeleteHistoryRepositoryInterface $repository) : mixed
Parameters
- $repository : DeleteHistoryRepositoryInterface
Return values
mixed —reportDeletion()
Reports the deletion of an entity with the given id in the given scope.
public
reportDeletion(DeletedId $id, DeleteHistoryScope $scope) : void
Parameters
- $id : DeletedId
-
Value of deleted id.
- $scope : DeleteHistoryScope
-
Scope of deleted entity.