TournamentTeamMember::setIcon()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 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