final class RouterCacheHookFactory implements CatchUpHookFactoryInterface (View source)

Methods

__construct(RouterCachingService $routerCachingService)

No description

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.

Details

__construct(RouterCachingService $routerCachingService)

No description

Parameters

RouterCachingService $routerCachingService

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.

Parameters

CatchUpHookFactoryDependencies $dependencies

available dependencies to intialise the catchup hook

Return Value

CatchUpHookInterface