Completed
Push — master ( 31741c...acf815 )
by Benjamin
11:01 queued 06:10
created

SidelinesTrait::setPopularity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 10
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Obblm\Core\Entity\Traits;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
trait SidelinesTrait
8
{
9
    /**
10
     * @ORM\Column(type="integer")
11
     */
12
    private $rerolls;
13
14
    /**
15
     * @ORM\Column(type="integer")
16
     */
17
    private $cheerleaders;
18
19
    /**
20
     * @ORM\Column(type="integer")
21
     */
22
    private $assistants;
23
24
    /**
25
     * @ORM\Column(type="integer")
26
     */
27
    private $popularity;
28
29
    /**
30
     * @ORM\Column(type="boolean")
31
     */
32
    private $apothecary;
33
34 1
    public function getRerolls(): ?int
35
    {
36 1
        return $this->rerolls;
37
    }
38
39 1
    public function setRerolls(int $rerolls): self
40
    {
41 1
        $this->rerolls = $rerolls;
42
43 1
        return $this;
44
    }
45
46 1
    public function getCheerleaders(): ?int
47
    {
48 1
        return $this->cheerleaders;
49
    }
50
51
    public function setCheerleaders(int $cheerleaders): self
52
    {
53
        $this->cheerleaders = $cheerleaders;
54
55
        return $this;
56
    }
57
58 1
    public function getAssistants(): ?int
59
    {
60 1
        return $this->assistants;
61
    }
62
63
    public function setAssistants(int $assistants): self
64
    {
65
        $this->assistants = $assistants;
66
67
        return $this;
68
    }
69
70 1
    public function getPopularity(): ?int
71
    {
72 1
        return $this->popularity;
73
    }
74
75
    public function setPopularity(int $popularity): self
76
    {
77
        $this->popularity = $popularity;
78
79
        return $this;
80
    }
81
82 1
    public function getApothecary(): ?bool
83
    {
84 1
        return $this->apothecary;
85
    }
86
87 1
    public function setApothecary(bool $apothecary): self
88
    {
89 1
        $this->apothecary = $apothecary;
90
91 1
        return $this;
92
    }
93
}
94