Skip to content

Commit

Permalink
Merge pull request #4757 from mhsdesign/task/markSerializedCommandsAs…
Browse files Browse the repository at this point in the history
…Internal

TASK: 4305 Mark *Serialized* commands `@internal`
  • Loading branch information
mhsdesign authored Nov 17, 2023
2 parents e304fc6 + 91fe96b commit 3a37216
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreamId;

/**
* CreateNodeAggregateWithNode
* Creates a new node aggregate with a new node.
*
* Creates a new node aggregate with a new node in the given `contentStreamId`
* with the given `nodeAggregateId` and `originDimensionSpacePoint`.
* The node will be appended as child node of the given `parentNodeId` which must cover the given
* `originDimensionSpacePoint`.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* The properties of {@see CreateNodeAggregateWithNode} are directly serialized; and then this command
* is called and triggers the actual processing.
*
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, use {@see CreateNodeAggregateWithNode} instead.
*/
final class CreateNodeAggregateWithNodeAndSerializedProperties implements
CommandInterface,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreamId;

/**
* Set property values for a given node (internal implementation).
* Set property values for a given node.
*
* The property values contain the serialized types already, and include type information.
*
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, use {@see SetNodeProperties} instead.
*/
final class SetSerializedNodeProperties implements
CommandInterface,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
use Neos\ContentRepository\Core\SharedModel\Workspace\ContentStreamId;

/**
* Set property values for a given node (internal implementation).
* Set property values for a given node.
*
* The property values contain the serialized types already, and include type information.
*
* @api commands are the write-API of the ContentRepository
* @internal implementation detail, use {@see SetNodeReferences} instead.
*/
final class SetSerializedNodeReferences implements
CommandInterface,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
/**
* "Raw" / Serialized node reference as saved in the event log // in projections.
*
* @api used as part of commands/events
* @internal
*/
final class SerializedNodeReference implements \JsonSerializable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* A collection of SerializedNodeReference objects, to be used when creating reference relations.
*
* @implements \IteratorAggregate<SerializedNodeReference>
* @api used as part of commands/events
* @internal
*/
final readonly class SerializedNodeReferences implements \IteratorAggregate, \Countable, \JsonSerializable
{
Expand Down

0 comments on commit 3a37216

Please sign in to comment.