Completed
Pull Request — Laravel4 (#36)
by
unknown
10:35
created

Achievement   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 18
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php namespace Syntax\SteamApi\Containers;
2
3
class Achievement {
4
	public $apiName;
5
6
	public $achieved;
7
8
	public $name;
9
10
	public $description;
11
12
	public function __construct($achievement)
13
	{
14
		$this->apiName     = $achievement->apiname;
15
		$this->achieved    = $achievement->achieved;
16
		$this->name        = $achievement->name;
17
		$this->description = $achievement->description;
18
	}
19
20
}