Skip to content

Instantly share code, notes, and snippets.

@awartoft
Created June 30, 2012 14:11
Show Gist options
  • Save awartoft/3023890 to your computer and use it in GitHub Desktop.
Save awartoft/3023890 to your computer and use it in GitHub Desktop.
return $e->getResponse()
->setStatusCode(401)
->headers()
->addHeaderLine('location', '/');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment