PHP Classes

File: src/HttpMethods.php

Recommend this page to a friend!
  Classes of Mateo   Simple PHP Router   src/HttpMethods.php   Download  
File: src/HttpMethods.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Simple PHP Router
Route HTTP requests to callback functions
Author: By
Last change:
Date: 0 years ago
Size: 191 bytes
 

Contents

Class file image Download
<?php

namespace Mateodioev\HttpRouter;

enum HttpMethods: string
{
    case
GET = 'GET';
    case
POST = 'POST';
    case
PUT = 'PUT';
    case
PATCH = 'PATCH';
    case
DELETE = 'DELETE';
}