1: <?php
2:
3: /**
4: * Copyright 2015, Eduardo Trujillo
5: *
6: * For the full copyright and license information, please view the LICENSE
7: * file that was distributed with this source code.
8: *
9: * This file is part of the Nucleus package
10: */
11:
12: namespace Chromabits\Nucleus\Http\Enums;
13:
14: use Chromabits\Nucleus\Foundation\Enum;
15:
16: /**
17: * Class HttpMethods.
18: *
19: * For more information reference RFC 2616.
20: *
21: * @author Eduardo Trujillo <ed@chromabits.com>
22: * @package Chromabits\Nucleus\Http\Enums
23: */
24: class HttpMethods extends Enum
25: {
26: const GET = 'GET';
27: const POST = 'POST';
28: const PUT = 'PUT';
29: const OPTIONS = 'OPTIONS';
30: const HEAD = 'HEAD';
31: const DELETE = 'DELETE';
32: const TRACE = 'TRACE';
33: const CONNECT = 'CONNECT';
34: }
35: