Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Extract FinalHandler::getStatusCode to Utils #13

Merged

Conversation

weierophinney
Copy link
Member

Extracted FinalHandler::getStatusCode to Utils::getStatusCode, making it a public static method (per @spiffyjr). This allows re-use of that logic in custom final handlers.

- Extracted `FinalHandler::getStatusCode` to `Utils::getStatusCode`,
  making it a public static method (per @spiffyjr).
@weierophinney weierophinney added this to the 1.1.0 milestone Jun 23, 2015
@spiffyjr
Copy link
Contributor

👍 - Perfect.

- instead of package-specific decorators
@weierophinney weierophinney merged commit 7742f8b into zendframework:develop Jun 24, 2015
weierophinney added a commit that referenced this pull request Jun 24, 2015
weierophinney added a commit that referenced this pull request Jun 24, 2015
@weierophinney weierophinney deleted the feature/status-code-utility branch June 24, 2015 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants