Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Dispatch event when request is processed. #9

Closed
wants to merge 2 commits into from

Conversation

jongotlin
Copy link
Contributor

It's handy to dispatch events when the request is made in order to listen to it's result. I particularly need it in jongotlin/BillogramBundle#1 where I show the result in the Symfony Toolbar and add the result to the general logger.

@AndreasHogstrom
Copy link
Contributor

At this time, we would not like to add a dependency for symfony/event-dispatcher, as we want this package to be as lightweight and stand-alone as possible.

Maybe a more dynamic and implementation agnostic solution could be thought of?

@jongotlin
Copy link
Contributor Author

Sure. Put it as a suggestion instead.

@jongotlin
Copy link
Contributor Author

Why did you close it? Now the event dispatcher are moved to suggest from require.

This was referenced Mar 1, 2016
@jongotlin
Copy link
Contributor Author

Care to answer why you closed it without explaining why?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants