Passed
Push — master ( 5204b5...bf9fba )
by Alice
37s
created

SampleClass   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A callMethod() 0 4 1
1
<?php
2
3
namespace Wonderland\Container\Example\Yml;
4
5
/**
6
 * Class SampleClass
7
 * @package Wonderland\Container\Example\Yml
8
 * @author Alice Praud <[email protected]>
9
 */
10
class SampleClass
11
{
12
	private $first;
13
	private $second;
14
15
	public function __construct($param1, $param2)
16
	{
17
		$this->first = $param1;
18
		$this->second = $param2;
19
	}
20
21
	public function callMethod($param1, $param2)
22
	{
23
		$this->first = $param1;
24
		$this->second = $param2;
25
	}
26
}
27