TournamentTeamMember   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 51
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2
Metric Value
wmc 6
lcom 0
cbo 2
dl 0
loc 51
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A setAlliance() 0 4 1
A setName() 0 4 1
A setCorporation() 0 4 1
A setSelf() 0 4 1
A setCharacter() 0 4 1
A setIcon() 0 4 1
1
<?php
2
namespace Perry\Representation\Eve\v1;
3
4
use \Perry\Representation\Reference as Reference;
5
use \Perry\Representation\Uri as Uri;
6
use \Perry\Representation\Base as Base;
7
8
class TournamentTeamMember extends Base
9
{
10
    public $alliance;
11
12
    public $name;
13
14
    public $corporation;
15
16
    public $self;
17
18
    public $character;
19
20
    public $icon;
21
22
    // by Warringer\Types\Reference
23
    public function setAlliance($alliance)
24
    {
25
        $this->alliance = new Reference($alliance);
26
    }
27
28
    // by Warringer\Types\String
29
    public function setName($name)
30
    {
31
        $this->name = $name;
32
    }
33
34
    // by Warringer\Types\Reference
35
    public function setCorporation($corporation)
36
    {
37
        $this->corporation = new Reference($corporation);
38
    }
39
40
    // by Warringer\Types\Reference
41
    public function setSelf($self)
42
    {
43
        $this->self = new Reference($self);
44
    }
45
46
    // by Warringer\Types\Reference
47
    public function setCharacter($character)
48
    {
49
        $this->character = new Reference($character);
50
    }
51
52
    // by Warringer\Types\Reference
53
    public function setIcon($icon)
54
    {
55
        $this->icon = new Reference($icon);
56
    }
57
58
}
59