Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * Gets a "parameter" value.
- *
- * This method is mainly useful for libraries that want to provide some flexibility.
- *
- * Order of precedence: GET, PATH, POST
- *
- * Avoid using this method in controllers:
- *
- * * slow
- * * prefer to get from a "named" source
- *
- * It is better to explicitly get request parameters from the appropriate
- * public property instead (query, attributes, request).
- *
- * @param string $key the key
- * @param mixed $default the default value
- * @param Boolean $deep is parameter deep in multidimensional array
- *
- * @return mixed
- */
- $name = Input::get('name');
- request()->urlParam;
- $request->get('current-password');
- $request->post('current-password');
Add Comment
Please, Sign In to add comment