Skip to content

Documenting the optional default value parameter#21

Open
jklein wants to merge 1 commit intocodeguy:masterfrom
jklein:master
Open

Documenting the optional default value parameter#21
jklein wants to merge 1 commit intocodeguy:masterfrom
jklein:master

Conversation

@jklein
Copy link
Copy Markdown

@jklein jklein commented Mar 28, 2014

Each of these:

$app->request->get()
$app->request->post()
$app->request->put()

Accepts an optional second parameter to specific a default value. This is currently undocumented, so I documented it. Evidence:

https://github.com/codeguy/Slim/blob/master/Slim/Http/Request.php#L215

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.

1 participant