Total Complexity | 1 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
4 | final class Method |
||
5 | { |
||
6 | const GET = 'GET'; |
||
7 | const HEAD = 'HEAD'; |
||
8 | const POST = 'POST'; |
||
9 | const PUT = 'PUT'; |
||
10 | const DELETE = 'DELETE'; |
||
11 | const CONNECT = 'CONNECT'; |
||
12 | const OPTIONS = 'OPTIONS'; |
||
13 | const TRACE = 'TRACE'; |
||
14 | |||
15 | /** |
||
16 | * Retrieve list of supported HTTP methods. |
||
17 | * |
||
18 | * @return array |
||
19 | */ |
||
20 | public static function getSupported() |
||
34 |