Skip to content

There are no changes in the afterSave method #119

@alexey-bro

Description

@alexey-bro

After the model is saved in the afterSave method, the attributes of the object are old and $changedAttributes is also empty.

public function afterSave($insert, $changedAttributes)
{
var_dump($this->depth); //old value
var_dump($changedAttributes) //empty
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions