You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"salt" is unused and deprecated. It will be removed in the next months. You can simply pass "null" in your class.
We don't use protected variables in Aimeos for better encapsulation and to avoid them being part of the interface, so they cannot be changed any more without breaking the class interfaces. There are only a few places where we thought we need them to be protected, but we regret that decisions sooner or later.
Is there any particular reason for the
private
Base classes' attributes?I am trying to overwrite
createItemBase
fromAimeos\MShop\Customer\Manager\Base
to create an extended version of Customer's Item class.To create a new Item I'll need to access
$this->salt
, which is private.Can we just change the visibility to
protected
? This way I would not need to "recalculate" the salt value in my extended class.The text was updated successfully, but these errors were encountered: