Total Complexity | 10 |
Total Lines | 85 |
Duplicated Lines | 0 % |
Coverage | 64% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
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 |
||
56 | } |
||
57 | |||
58 | 1 | public function getAssistants(): ?int |
|
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 |
|
85 | } |
||
86 | |||
87 | 1 | public function setApothecary(bool $apothecary): self |
|
88 | { |
||
89 | 1 | $this->apothecary = $apothecary; |
|
92 | } |
||
93 | } |
||
94 |