Skip to content

Commit

Permalink
FEATURE: Improve Node and Node interfaces rewrites
Browse files Browse the repository at this point in the history
  • Loading branch information
dlubitz committed Nov 20, 2024
1 parent 422b1a7 commit 79aab6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/set/contentrepository-90.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
// hasProperty -> compatible with ES CR Node (nothing to do)
// getProperty -> compatible with ES CR Node (nothing to do)
// removeProperty
$methodCallToWarningComments[] = new MethodCallToWarningComment(NodeLegacyStub::class, 'removeProperty', '!! Node::setProperty() is not supported by the new CR. Use the "SetNodeProperties" command to remove a property values.');
$methodCallToWarningComments[] = new MethodCallToWarningComment(NodeLegacyStub::class, 'removeProperty', '!! Node::removeProperty() is not supported by the new CR. Use the "SetNodeProperties" command to remove a property values.');
// getProperties -> PropertyCollectionInterface
$methodCallToPropertyFetches[] = new MethodCallToPropertyFetch(NodeLegacyStub::class, 'getProperties', 'properties');
// getPropertyNames
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SomeClass extends AnotherClass


$node->setProperty('foo', 'bar');
// TODO 9.0 migration: !! Node::setProperty() is not supported by the new CR. Use the "SetNodeProperties" command to remove a property values.
// TODO 9.0 migration: !! Node::removeProperty() is not supported by the new CR. Use the "SetNodeProperties" command to remove a property values.


$node->removeProperty('bar');
Expand Down

0 comments on commit 79aab6e

Please sign in to comment.