RebasableToOtherWorkspaceInterface
interface RebasableToOtherWorkspaceInterface implements JsonSerializable (View source)
| internal | used internally for the rebasing mechanism of content streams |
Common (marker) interface for all commands that need to be serialized for rebasing to other workspaces
If the api command {\Neos\ContentRepository\Core\CommandHandler\CommandInterface} is serializable on its own it will directly implement this interface. For complex commands a serialized counterpart - which is not api - will be build which implements this interface.
During a rebase, the command (either the original {\Neos\ContentRepository\Core\CommandHandler\CommandInterface} or its serialized counterpart) will be deserialized from array {\Neos\ContentRepository\Core\Feature\Common\RebasableToOtherWorkspaceInterface::fromArray()} and reapplied via the {\Neos\ContentRepository\Core\CommandHandler\CommandSimulator}
Reminder: a rebase can fail, because the target content stream might contain conflicting changes.
Methods
No description
Details
RebasableToOtherWorkspaceInterface
createCopyForWorkspace(WorkspaceName $targetWorkspaceName)
No description
static RebasableToOtherWorkspaceInterface
fromArray(array $array)
No description