yii2-dynamic-ar icon indicating copy to clipboard operation
yii2-dynamic-ar copied to clipboard

use of parent::

Open tom-- opened this issue 8 years ago • 1 comments

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-- avatar Feb 11 '17 16:02 tom--

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

djagya avatar Feb 11 '17 19:02 djagya