yiisoft/yii2 — pull request #737 by wicaksono (2013-08-09 19:37:28+00:00)
Title: Use `hasAttribute()` instead to avoid code duplication

change `isset($this->_attributes[$name]) || isset($this->getTableSchema()->columns[$name])` on `__set()` and `setAttribute()` to `hasAttribute()`