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

Add getServerParam method #1956

Merged
merged 1 commit into from Aug 14, 2016
Merged

Add getServerParam method #1956

merged 1 commit into from Aug 14, 2016

Conversation

joelhy
Copy link
Contributor

@joelhy joelhy commented Aug 13, 2016

Add getServerParam method to Slim\Http\Request.

It's inconvenient to use server params without a method to get single parameter from $_SERVER.
Just like getCookieParam() to getCookieParams() , getParsedBodyParam() to getParsedBodyParams().

@coveralls
Copy link

Coverage Status

Coverage increased (+0.003%) to 97.18% when pulling 0308319 on joelhy:feat/getServerParam into a63b393 on slimphp:3.x.

@akrabat akrabat added this to the 3.5.1 milestone Aug 14, 2016
@akrabat akrabat merged commit 0308319 into slimphp:3.x Aug 14, 2016
@akrabat
Copy link
Member

akrabat commented Aug 14, 2016

Thanks. Would you be able to create a PR for the docs to document this? I suspect that getServerParams also needs documenting!

joelhy pushed a commit to joelhy/Slim-Website that referenced this pull request Aug 15, 2016
joelhy added a commit to joelhy/Slim-Website that referenced this pull request Aug 15, 2016
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.

None yet

3 participants