Completed
Push — master ( 6097a5...d36649 )
by Alexander
07:23 queued 03:45
created

HttpGetRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBody() 0 4 1
1
<?php
2
/**
3
 * @file      HttpGetRequest.php
4
 *
5
 * PHP version 5.6+
6
 *
7
 * @author    Yancharuk Alexander <alex at itvault dot info>
8
 * @copyright © 2012-2017 Alexander Yancharuk <alex at itvault at info>
9
 * @date      2017-01-18 10:43
10
 * @license   The BSD 3-Clause License
11
 *            <https://tldrlegal.com/license/bsd-3-clause-license-(revised)>
12
 */
13
14
namespace Veles\Request;
15
16
/**
17
 * Class   HttpGetRequest
18
 *
19
 * @author Yancharuk Alexander <alex at itvault at info>
20
 */
21
class HttpGetRequest extends HttpPostRequest
22
{
23
	/**
24
	 * Getting http-request body
25
	 *
26
	 * @return array
27
	 */
28
	public function getBody()
29
	{
30
		return $_GET;
31
	}
32
}
33