Skip to content

Conversation

@Fedik
Copy link

@Fedik Fedik commented Sep 6, 2021

One more thing, sorry, I missed that.
The event should have named arguments, and kind of type validation.
I hope it good now.

@laoneo laoneo merged commit f544fd5 into Digital-Peak:j4/mm/file/events Sep 6, 2021
@Fedik Fedik deleted the pull35396 branch September 7, 2021 09:24
laoneo added a commit that referenced this pull request Dec 20, 2021
* Add some events when fetching media data

* Use dispatcher to trigger event

* Use an event instance

* Class per event (#15)

* Argument validations and getter (#16)

* Class per event

* Argument validations

* global

* Use result from events

* Copy year

* Use internal variable

* void

* adapt model

* Validate events (#17)

* Revert commit ec8b4c8 ccd02cb and 9a2a119

* Validate and immutable events

* Update administrator/components/com_media/src/Event/FetchMediaFileEvent.php

Co-authored-by: Harald Leithner <[email protected]>

* Update administrator/components/com_media/src/Event/FetchMediaFilesEvent.php

Co-authored-by: Harald Leithner <[email protected]>

* Rename the events

* Cleanup events

Co-authored-by: Fedir Zinchuk <[email protected]>
Co-authored-by: Harald Leithner <[email protected]>
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.

2 participants