final class CatchUpHookFactories implements CatchUpHookFactoryInterface (View source)

Methods

create()

No description

with(CatchUpHookFactoryInterface $catchUpHookFactory)

No description

bool
isEmpty()

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

static CatchUpHookFactories create()

No description

Return Value

CatchUpHookFactories

CatchUpHookFactories with(CatchUpHookFactoryInterface $catchUpHookFactory)

No description

Parameters

CatchUpHookFactoryInterface $catchUpHookFactory

Return Value

CatchUpHookFactories

bool isEmpty()

No description

Return Value

bool

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