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

[Feature request] End processing app #2982

Closed
CatAnonymous opened this issue May 12, 2020 · 1 comment
Closed

[Feature request] End processing app #2982

CatAnonymous opened this issue May 12, 2020 · 1 comment

Comments

@CatAnonymous
Copy link

CatAnonymous commented May 12, 2020

I am using
return;
in the Controller when I want to end processing the code below, because die()/exit() will make setHeader (Location) inactive.
I hope to have the same function as
$this->endapp;
Thanks

@CatAnonymous CatAnonymous changed the title End processing function [Feature request] End processing app May 12, 2020
@michalsn
Copy link
Member

Sorry, I don't really see a good reason to introduce a special method instead of using return.

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

No branches or pull requests

2 participants