The setter always transforms any value to a ValueGenerator. Extended classes that manually set $this->defaultValue could experiece a behavior change. But to me it looks like an unintended code paths as the it is not documented what happens with int, float, bool etc. And it breaks for array for example.
The setter always transforms any value to a ValueGenerator. Extended classes that manually set
$this->defaultValue
could experiece a behavior change. But to me it looks like an unintended code paths as the it is not documented what happens with int, float, bool etc. And it breaks for array for example.