final class DimensionSpacePointWasMoved implements EventInterface, PublishableToWorkspaceInterface, EmbedsContentStreamId, EmbedsWorkspaceName (View source)

Moved a dimension space point to a new location; basically moving all content to the new dimension space point.

This is used to rename dimension space points, e.g. from "de" to "de_DE".

NOTE: the target dimension space point must not contain any content.

Methods

__construct(WorkspaceName $workspaceName, ContentStreamId $contentStreamId, DimensionSpacePoint $source, DimensionSpacePoint $target)

No description

getWorkspaceName()

No description

static EventInterface
fromArray(array $values)

No description

array
jsonSerialize()

No description

Details

__construct(WorkspaceName $workspaceName, ContentStreamId $contentStreamId, DimensionSpacePoint $source, DimensionSpacePoint $target)

No description

Parameters

WorkspaceName $workspaceName
ContentStreamId $contentStreamId
DimensionSpacePoint $source
DimensionSpacePoint $target

ContentStreamId getContentStreamId()

No description

Return Value

ContentStreamId

WorkspaceName getWorkspaceName()

No description

Return Value

WorkspaceName

PublishableToWorkspaceInterface withWorkspaceNameAndContentStreamId(WorkspaceName $targetWorkspaceName, ContentStreamId $contentStreamId)

No description

Parameters

WorkspaceName $targetWorkspaceName
ContentStreamId $contentStreamId

Return Value

PublishableToWorkspaceInterface

static EventInterface fromArray(array $values)

No description

Parameters

array $values

Return Value

EventInterface

array jsonSerialize()

No description

Return Value

array