Adds support for interceptors to an atomic operation.
The operation and its interceptors are passed to the constructor. All
interceptors must implement
Puli\Manager\Transaction\OperationInterceptor interface supports two methods:
* OperationInterceptor::postExecute() is invoked after executing the operation. If the execution fails, the interceptor is not invoked. If the interceptor fails, the operation is rolled back. * OperationInterceptor::postRollback() is invoked after rolling back the operation. Consequently, this method is also called when OperationInterceptor::postExecute() fails.
- Puli\Manager\Transaction\InterceptedOperation implements Puli\Manager\Transaction\AtomicOperation
Author: Bernhard Schussek firstname.lastname@example.org
Located at Transaction/InterceptedOperation.php