| 1 |
<?php |
| 2 |
|
| 3 |
declare(strict_types=1); |
| 4 |
|
| 5 |
namespace Square\Legacy\Http; |
| 6 |
|
| 7 |
use CoreInterfaces\Core\Request\RequestMethod; |
| 8 |
|
| 9 |
/** |
| 10 |
* HTTP Methods Enumeration |
| 11 |
*/ |
| 12 |
class HttpMethod |
| 13 |
{ |
| 14 |
public const GET = RequestMethod::GET; |
| 15 |
public const POST = RequestMethod::POST; |
| 16 |
public const PUT = RequestMethod::PUT; |
| 17 |
public const PATCH = RequestMethod::PATCH; |
| 18 |
public const DELETE = RequestMethod::DELETE; |
| 19 |
public const HEAD = RequestMethod::HEAD; |
| 20 |
} |
| 21 |
|