FakeCatchUpHookFactory
final class FakeCatchUpHookFactory implements CatchUpHookFactoryInterface (View source)
| internal | helper to configure custom catchup hook mocks for testing |
Methods
build(CatchUpHookFactoryDependencies $dependencies)
Note that a catchup doesn't have access to the full content repository, as it would allow full recursion via handle and accessing other projections state is not safe as the other projection might not be behind - the order is undefined.
static void
setCatchupHook(ProjectionStateInterface $projectionState, CatchUpHookInterface $catchUpHook)
No description
Details
CatchUpHookInterface
build(CatchUpHookFactoryDependencies $dependencies)
Note that a catchup doesn't have access to the full content repository, as it would allow full recursion via handle and accessing other projections state is not safe as the other projection might not be behind - the order is undefined.
static void
setCatchupHook(ProjectionStateInterface $projectionState, CatchUpHookInterface $catchUpHook)
No description