-
-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
!!! Remove shallow methods from Node
?
#4483
Comments
I am unsure about this, because people rely on this right now very heavily. It's of course debatable whether this should be changed, but I right now am unsure about this because of backwards breakiness... |
What would the replacement be? Using |
today we discussed this issue and wether to remove the array access from
<?php
$node->getProperty("foo");
// vs
$node->properties["foo"]; (and eel)
the conclusion of our weekly and this discussion is, that we want to keep the ArrayAccess behavior of the properties as this ensures a better backwards compatibility. If we would have started out from a fresh state we would certainly rethink all the ways but currently we will keep all of the property accessors
|
Those three methods are super shallow and dont provide any additional information.
i just want to open the discussion to make the
Node
even cleaner ;)neos-development-collection/Neos.ContentRepository.Core/Classes/Projection/ContentGraph/Node.php
Lines 86 to 112 in 71e64ed
about the
label
it should imo be a constructor property given from the nodeFactoryThe text was updated successfully, but these errors were encountered: