class IconImageSaving

Dispatched before a model's icon image is stored or removed through the icon image endpoints, which don't run the resource's own saving hooks. A listener can throw to stop the change, or alter the image before it is stored. Check `$model` to act on one kind of model only.

Methods

__construct( AbstractModel $model, User $actor, ImageInterface|null $image)

No description

Details

__construct( AbstractModel $model, User $actor, ImageInterface|null $image)

Parameters

AbstractModel $model
User $actor
ImageInterface|null $image