Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function xfunction(Request $request, Response $response, $args)
- {
- #function itself
- }
- //args
- $id = $args['id'];
- //get
- $id = $request->getQueryParams()['id'];
- //post
- $id = $request->getParsedBody()['id'];
Add Comment
Please, Sign In to add comment