class FlushSubgraphCachePoolCatchUpHookFactory implements CatchUpHookFactoryInterface (View source)

internal  
 

Factory for {FlushSubgraphCachePoolCatchUpHook}, auto-registered in Settings.yaml for GraphProjection

Methods

__construct(SubgraphCachePool $subgraphCachePool)

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(SubgraphCachePool $subgraphCachePool)

No description

Parameters

SubgraphCachePool $subgraphCachePool

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