Closed j0k3r closed 2 years ago
Yeah, that looks about right. Once we bump to PHP 8, we will even be able to switch to named parameters and ditch options resolver altogether. And then with readonly
properties, we won’t even need the getters.
I think I'm done @jtojnar, can you take a look? 🙏
Mostly to enforce type of each parameter of a config. Also, enforce type for the input configuration using
setAllowedTypes
.See https://github.com/j0k3r/graby/pull/283#pullrequestreview-849144036
Is it something like that you were talking about @jtojnar?