Completed
Pull Request — master (#12)
by Tobias
07:38
created

Addon::getTarget()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 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
namespace SolutionDrive\HipchatAPIv2Client\Model;
4
5
class Addon implements AddonInterface
6
{
7
    private $target;
8
    private $ttl;
9
    private $token;
10
11 1
    public function setTarget($target)
12
    {
13 1
        $this->target = $target;
14 1
    }
15
16 1
    public function setTTL($ttl)
17
    {
18 1
        $this->ttl = $ttl;
19 1
    }
20
21 1
    public function setToken($token)
22
    {
23 1
        $this->token = $token;
24 1
    }
25
26 1
    public function getTarget()
27
    {
28 1
        return $this->target;
29
    }
30
31 1
    public function getTTL()
32
    {
33 1
        return $this->ttl;
34
    }
35
36 1
    public function getToken()
37
    {
38 1
        return $this->token;
39
    }
40
}
41