Request Mapping
The `RequestMapping` class is a PHP attribute that can be used to define routes and HTTP request methods for a class, method, or function.
Types of Request Mapping
- DeleteMapping : The `DeleteMapping` class is a PHP attribute that represents a DELETE request mapping.
- GetMapping : The `GetMapping` class is a PHP attribute that represents a GET request mapping.
- PostMapping: The `PostMapping` class is a PHP attribute that represents a POST request mapping.
- PutMapping : The `PutMapping` class is a PHP attribute that represents a PUT request mapping.
- PatchMapping : The `PatchMapping` class is a PHP attribute that represents a PATCH request mapping.
- HeadMapping : The `HeadMapping` class is a PHP attribute that represents a Head request mapping.
- OptionsMapping : The `OptionsMapping` class is a PHP attribute that represents a Options request mapping.