tom--/yii2-dynamic-ar

use of parent::

Opened this issue · 1 comments

tom-- commented

Refactor DynamicActiveRecord so that methods use parent:: only to call the parent of the same method, e.g. DynamicActiveRecord::getAttribute() is allowed to call parent::getAttribute() but not parent::__get().

Does this improve maintainability

Is this feasible?

any thoughts @djagya ?

@tom-- I read the whole discussion. Your proposal makes sense, yes