Completed
Push — master ( 0cb618...205443 )
by Emlyn
11:02
created

Cli   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 0 Features 2
Metric Value
wmc 2
c 2
b 0
f 2
lcom 0
cbo 0
dl 0
loc 14
ccs 0
cts 5
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setStatusCode() 0 4 1
A getStatusCode() 0 4 1
1
<?php
2
/**
3
 * @package    Fuel\Foundation
4
 * @version    2.0
5
 * @author     Fuel Development Team
6
 * @license    MIT License
7
 * @copyright  2010 - 2016 Fuel Development Team
8
 * @link       http://fuelphp.com
9
 */
10
11
declare(strict_types=1);
12
13
namespace Fuel\Foundation\Response;
14
15
class Cli implements ResponseInterface
16
{
17
	protected $statusCode;
18
19
	public function setStatusCode($code)
20
	{
21
		$this->statusCode = $code;
22
	}
23
24
	public function getStatusCode()
25
	{
26
		return $this->statusCode;
27
	}
28
}
29