interface PublishableToWorkspaceInterface implements EventInterface (View source)

internal  used internally for the publishing mechanism of workspaces
 

This interface is implemented by events which can be published to different workspaces.

Reminder: Event Publishing to a target content stream can not fail if the source content stream is based on the target content stream, and no events have been committed to the target content stream in the meantime. This is because event's effects have to be fully deterministic.

Methods

static EventInterface
fromArray(array $values)

No description

array
jsonSerialize()

No description

Details

static EventInterface fromArray(array $values)

No description

Parameters

array $values

Return Value

EventInterface

array jsonSerialize()

No description

Return Value

array

PublishableToWorkspaceInterface withWorkspaceNameAndContentStreamId(WorkspaceName $targetWorkspaceName, ContentStreamId $contentStreamId)

No description

Parameters

WorkspaceName $targetWorkspaceName
ContentStreamId $contentStreamId

Return Value

PublishableToWorkspaceInterface