Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to prepend handler #600

Closed
wants to merge 3 commits into from
Closed

Support to prepend handler #600

wants to merge 3 commits into from

Conversation

filips123
Copy link

Add support to prepend handler. Fix #587.

* @param Callable|HandlerInterface $handler
* @return Run
*/
public function prependHandler($handler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing the interface is a BC break. We need to check whether this is a problem..

Copy link
Author

@filips123 filips123 Oct 28, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it OK to add new function but not update the interface?
If it is, I could just remove it from the interface so it will be like before.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@denis-sokolov
Copy link
Collaborator

For now #587 is closed, I’m closing this, too. If we reconsider in #587, we can revisit this.

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.

Add support to prepend handler
3 participants