Show What Attributes Have Changed

So I read that Yii2 will only save ‘changed’ attributes. How do we detect whether any attribute or a specific attribute has changed (i.e. was this model updated, and if so, what attributes…)?

Have you looked at the API? It seems that the $dirtyAttributes property is what you’re looking for.

if value is a Array, it can not be in the $dirtyAttributes or the EVENT::AFTER_SAVE’S params $$changedAttributes