Open Tigrov opened 1 month ago
Avoid set and get prefixes when declaring method names in the base ActiveRecord classes.
set
get
ActiveRecord
These prefixes will be used to access values of properties and relations e.g. getName(), setName()
getName()
setName()
getTableName()
tableName()
getIsNewRecord()
isNewRecord()
getDirtyAttributes()
dirtyAttributes()
Also see
Avoid
set
andget
prefixes when declaring method names in the baseActiveRecord
classes.These prefixes will be used to access values of properties and relations e.g.
getName()
,setName()
Rename existing methods
getTableName()
->tableName()
getIsNewRecord()
->isNewRecord()
getDirtyAttributes()
->dirtyAttributes()
Also see
343