Fixture::setTeamAway()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 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