diff options
Diffstat (limited to 'src/Enums/HttpMethod.php')
| -rw-r--r-- | src/Enums/HttpMethod.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Enums/HttpMethod.php b/src/Enums/HttpMethod.php new file mode 100644 index 0000000..9b561a8 --- /dev/null +++ b/src/Enums/HttpMethod.php @@ -0,0 +1,15 @@ +<?php + +declare(strict_types=1); + +namespace Lightscale\Router\Enums; + +enum HttpMethod: string +{ + case Any = 'any'; + case Get = 'get'; + case Post = 'post'; + case Put = 'put'; + case Patch = 'patch'; + case Delete = 'delete'; +} |
