Replies: 1 comment 2 replies
-
How often remove() will be used. While it is possible to add (and super easy). remove also possible to do with, as you mentioned, set&get. Do we really need this function? Will it make API better? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wouldn't it make sense to provide
remove()
, similar toadd()
? Usage example:Core recipe (from the magento2 recipe):
Inside my
deploy.php
:Resulting config value for
shared_dirs
:Since there is
add
, I think it is natural to also have the opposite. Currently, it needs to be done withget
andset
.Upvote & Fund
Beta Was this translation helpful? Give feedback.
All reactions