Fixture   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 65
ccs 15
cts 15
cp 1
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getTeamHome() 0 4 1
A setTeamHome() 0 4 1
A getTeamAway() 0 4 1
A setTeamAway() 0 4 1
A getWeek() 0 4 1
A setWeek() 0 4 1
1
<?php
2
3
namespace OSS\CoreBundle\FixtureGenerator;
4
5
class Fixture
6
{
7
    /**
8
     * @var int
9
     */
10
    private $teamHome;
11
12
    /**
13
     * @var int
14
     */
15
    private $teamAway;
16
17
    /**
18
     * @var int
19
     */
20
    private $week;
21
22
    /**
23
     * @return int
24
     */
25 2
    public function getTeamHome()
26
    {
27 2
        return $this->teamHome;
28
    }
29
30
    /**
31
     * @param int $teamHome
32
     */
33 2
    public function setTeamHome($teamHome)
34
    {
35 2
        $this->teamHome = $teamHome;
36 2
    }
37
38
    /**
39
     * @return int
40
     */
41 2
    public function getTeamAway()
42
    {
43 2
        return $this->teamAway;
44
    }
45
46
    /**
47
     * @param int $teamAway
48
     */
49 2
    public function setTeamAway($teamAway)
50
    {
51 2
        $this->teamAway = $teamAway;
52 2
    }
53
54
    /**
55
     * @return int
56
     */
57 2
    public function getWeek()
58
    {
59 2
        return $this->week;
60
    }
61
62
    /**
63
     * @param int $week
64
     */
65 2
    public function setWeek($week)
66
    {
67 2
        $this->week = $week;
68 2
    }
69
}
70