Skip to content

Support a after upload hook on contained model scope#63

Open
pnghai wants to merge 3 commits intoqcod:masterfrom
pnghai:master
Open

Support a after upload hook on contained model scope#63
pnghai wants to merge 3 commits intoqcod:masterfrom
pnghai:master

Conversation

@pnghai
Copy link

@pnghai pnghai commented Apr 12, 2023

  • provide hook class via protected static $uploadedHook
  • Hook class will be called via handle(Model $model) if any upload fields has been uploaded (ie, after autoupload call).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant