GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ViewHelperA::getView()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @package presentation
4
 * @subpackage helpers
5
 * @author marius orcsik <[email protected]>
6
 * @date 13.01.02
7
 */
8
namespace vsc\presentation\helpers;
9
10
use vsc\domain\models\ModelA;
11
use vsc\infrastructure\Base;
12
use vsc\presentation\views\ViewA;
13
14
class ViewHelperA extends Base /* implements ViewInterface  */ {
15
	private $sName;
16
17
	/**
18
	 * @var ModelA
19
	 */
20
	private $oModel;
21
22
	/**
23
	 * @var ViewA
24
	 */
25
	private $oView;
26
27
	/**
28
	 * @param ViewA $oView
29
	 * @return void
30
	 */
31 1
	public function setView(ViewA $oView) {
32 1
		$this->oView = $oView;
33 1
	}
34
35
	/**
36
	 * @returns ViewA
37
	 */
38 1
	public function getView() {
39 1
		return $this->oView;
40
	}
41
42
	/**
43
	 * @param ModelA $oModel
44
	 * @return void
45
	 */
46 1
	public function setModel(ModelA $oModel) {
47 1
		$this->oModel = $oModel;
48 1
	}
49
50
	/**
51
	 * @returns ModelA
52
	 */
53 1
	public function getModel() {
54 1
		return $this->oModel;
55
	}
56
}
57