Well... I'm going to merge it to the master branch with warnings silencing attribute (AllowDynamicProperties).
I wanted to provide long-term solution by storing associated models in dedicated array structure, but a mix of __isset + __get is too complicated in Model.php. One evening is not enough to untangle it.
Let's think about it when it's closer to PHP9 release.
Well... I'm going to merge it to the master branch with warnings silencing attribute (
AllowDynamicProperties
).I wanted to provide long-term solution by storing associated models in dedicated array structure, but a mix of
__isset
+__get
is too complicated inModel.php
. One evening is not enough to untangle it.Let's think about it when it's closer to PHP9 release.