Closed gotzsys closed 1 year ago
Hello I have an event fired when the image attribute was changed. I want to remove the old image from S3 bucket when a resource was updated.
How is the best way to do that?
Hi, there is a $model->getOriginal() method to get the original value of a model. Could you check if that works for you?
$model->getOriginal()
Hello I have an event fired when the image attribute was changed. I want to remove the old image from S3 bucket when a resource was updated.
How is the best way to do that?