Source of file RequestType.php

Size: 0,685 Bytes - Last Modified: 2019-08-09T18:27:54+00:00

/home/travis/build/zerospam/sdk-framework/src/Request/Type/RequestType.php

12345678910111213141516171819202122232425262728293031323334
<?php
/**
 * Created by PhpStorm.
 * User: aaflalo
 * Date: 30/05/18
 * Time: 4:37 PM.
 */

namespace ZEROSPAM\Framework\SDK\Request\Type;

use MabeEnum\Enum;

/**
 * Class RequestType.
 *
 * Type of request
 *
 * @method static RequestType HTTP_POST()
 * @method static RequestType HTTP_GET()
 * @method static RequestType HTTP_PUT()
 * @method static RequestType HTTP_HEAD()
 * @method static RequestType HTTP_DELETE()
 * @method static RequestType HTTP_PATCH()
 */
class RequestType extends Enum
{
    const HTTP_GET = 'GET';
    const HTTP_POST = 'POST';
    const HTTP_PUT = 'PUT';
    const HTTP_HEAD = 'HEAD';
    const HTTP_DELETE = 'DELETE';
    const HTTP_PATCH = 'PATCH';
}