Closed samdark closed 2 months ago
We call data properties "attributes" because in both Yii1 and Yii2 these were called so. The issue is that PHP now has https://www.php.net/manual/en/language.attributes.overview.php so the name became very confusing.
Renaming would require breaking BC so that's for the next major version.
Thanks, @vudaltsov for pointing it.
I used "attributes" / "PHP attributes", but agree that the naming can be improved.
Done by #730
We call data properties "attributes" because in both Yii1 and Yii2 these were called so. The issue is that PHP now has https://www.php.net/manual/en/language.attributes.overview.php so the name became very confusing.
Renaming would require breaking BC so that's for the next major version.
Thanks, @vudaltsov for pointing it.