Skip to content

Commit 7a6e640

Browse files
authored
Add HttpMethod (#40)
1 parent f40edb9 commit 7a6e640

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/Objects/Http/HttpMethod.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
3+
namespace EncoreDigitalGroup\StdLib\Objects\Http;
4+
5+
/**
6+
* @api
7+
*
8+
* @codeCoverageIgnore
9+
*/
10+
class HttpMethod
11+
{
12+
public const GET = "GET";
13+
public const POST = "POST";
14+
public const PUT = "PUT";
15+
public const PATCH = "PATCH";
16+
public const DELETE = "DELETE";
17+
public const HEAD = "HEAD";
18+
public const OPTIONS = "OPTIONS";
19+
public const TRACE = "TRACE";
20+
public const CONNECT = "CONNECT";
21+
}

0 commit comments

Comments
 (0)