HttpMethod shouldn't instatiable
This commit is contained in:
@@ -1,9 +1,15 @@
|
|||||||
<?php namespace Unirest;
|
<?php
|
||||||
class HttpMethod
|
|
||||||
{
|
namespace Unirest;
|
||||||
|
|
||||||
|
interface HttpMethod
|
||||||
|
{
|
||||||
|
|
||||||
const DELETE = "DELETE";
|
const DELETE = "DELETE";
|
||||||
const GET = "GET";
|
const GET = "GET";
|
||||||
const POST = "POST";
|
const POST = "POST";
|
||||||
const PUT = "PUT";
|
const PUT = "PUT";
|
||||||
const PATCH = "PATCH";
|
const PATCH = "PATCH";
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user