Skip to content

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.

3 participants