Completed
Pull Request — master (#7)
by
unknown
01:07
created

LoteriaNumbersNode   A

Complexity

Total Complexity 22

Size/Duplication

Total Lines 138
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 22
lcom 0
cbo 0
dl 0
loc 138
rs 10
c 0
b 0
f 0

22 Methods

Rating   Name   Duplication   Size   Complexity  
A setNumberConcurso() 0 5 1
A setDataConcurso() 0 5 1
A setDezenasConcurso() 0 5 1
A setArrecadacaoConcurso() 0 5 1
A setTotalGanhadoresPrimeiroPremio() 0 5 1
A setTotalGanhadoresSegundoPremio() 0 5 1
A setTotalGanhadoresTerceiroPremio() 0 5 1
A setValorGanhadoresPrimeiroPremio() 0 5 1
A setValorGanhadoresSegundoPremio() 0 5 1
A setValorGanhadoresTerceiroPremio() 0 5 1
A setValorAcumuladoConcurso() 0 5 1
A getNumberConcurso() 0 4 1
A getDataConcurso() 0 4 1
A getDezenasConcurso() 0 4 1
A getArrecadacaoConcurso() 0 4 1
A getTotalGanhadoresPrimeiroPremio() 0 4 1
A getTotalGanhadoresSegundoPremio() 0 4 1
A getTotalGanhadoresTerceiroPremio() 0 4 1
A getValorGanhadoresPrimeiroPremio() 0 4 1
A getValorGanhadoresSegundoPremio() 0 4 1
A getValorGanhadoresTerceiroPremio() 0 4 1
A getValorAcumuladoConcurso() 0 4 1
1
<?php
2
3
namespace LoteriaApi\Consumer\Reader;
4
5
class LoteriaNumbersNode
6
{
7
    private $numberConcurso;
8
    private $dataConcurso;
9
    private $dezenasConcurso = [];
10
    private $arrecadacaoConcurso;
11
    
12
    private $totalGanhadoresPrimeiroPremio;
13
    private $totalGanhadoresSegundoPremio;
14
    private $totalGanhadoresTerceiroPremio;
15
    
16
    private $valorGanhadoresPrimeiroPremio;
17
    private $valorGanhadoresSegundoPremio;
18
    private $valorGanhadoresTerceiroPremio;
19
20
    private $valorAcumuladoConcurso;
21
22
    public function setNumberConcurso($numberConcurso)
23
    {
24
        $this->numberConcurso = $numberConcurso;
25
        return $this;
26
    }
27
28
    public function setDataConcurso($dataConcurso)
29
    {
30
        $this->dataConcurso = $dataConcurso;
31
        return $this;
32
    }
33
34
    public function setDezenasConcurso(array $dezenasConcurso)
35
    {
36
        $this->dezenasConcurso = $dezenasConcurso;
37
        return $this;
38
    }
39
40
    public function setArrecadacaoConcurso($arrecadacaoConcurso)
41
    {
42
        $this->arrecadacaoConcurso = $arrecadacaoConcurso;
43
        return $this;
44
    }
45
46
    public function setTotalGanhadoresPrimeiroPremio($totalGanhadores)
47
    {
48
        $this->totalGanhadoresPrimeiroPremio = $totalGanhadores;
49
        return $this;
50
    }
51
52
    public function setTotalGanhadoresSegundoPremio($totalGanhadores)
53
    {
54
        $this->totalGanhadoresSegundoPremio = $totalGanhadores;
55
        return $this;
56
    }
57
58
    public function setTotalGanhadoresTerceiroPremio($totalGanhadores)
59
    {
60
        $this->totalGanhadoresTerceiroPremio = $totalGanhadores;
61
        return $this;
62
    }
63
64
    public function setValorGanhadoresPrimeiroPremio($valorGanhadores)
65
    {
66
        $this->valorGanhadoresPrimeiroPremio = $valorGanhadores;
67
        return $this;
68
    }
69
70
    public function setValorGanhadoresSegundoPremio($valorGanhadores)
71
    {
72
        $this->valorGanhadoresSegundoPremio = $valorGanhadores;
73
        return $this;
74
    }
75
76
    public function setValorGanhadoresTerceiroPremio($valorGanhadores)
77
    {
78
        $this->valorGanhadoresTerceiroPremio = $valorGanhadores;
79
        return $this;
80
    }
81
82
    public function setValorAcumuladoConcurso($valorAcumulado)
83
    {
84
        $this->valorAcumuladoConcurso = $valorAcumulado;
85
        return $this;
86
    }
87
88
    public function getNumberConcurso()
89
    {
90
        return $this->numberConcurso;
91
    }
92
93
    public function getDataConcurso()
94
    {
95
        return $this->dataConcurso;
96
    }
97
98
    public function getDezenasConcurso()
99
    {
100
        return $this->dezenasConcurso;
101
    }
102
103
    public function getArrecadacaoConcurso()
104
    {
105
        return $this->arrecadacaoConcurso;
106
    }
107
108
    public function getTotalGanhadoresPrimeiroPremio()
109
    {
110
        return $this->totalGanhadoresPrimeiroPremio;
111
    }
112
113
    public function getTotalGanhadoresSegundoPremio()
114
    {
115
        return $this->totalGanhadoresSegundoPremio;
116
    }
117
118
    public function getTotalGanhadoresTerceiroPremio()
119
    {
120
        return $this->totalGanhadoresTerceiroPremio;
121
    }
122
123
    public function getValorGanhadoresPrimeiroPremio()
124
    {
125
        return $this->valorGanhadoresPrimeiroPremio;
126
    }
127
128
    public function getValorGanhadoresSegundoPremio()
129
    {
130
        return $this->valorGanhadoresSegundoPremio;
131
    }
132
133
    public function getValorGanhadoresTerceiroPremio()
134
    {
135
        return $this->valorGanhadoresTerceiroPremio;
136
    }
137
138
    public function getValorAcumuladoConcurso()
139
    {
140
        return $this->valorAcumuladoConcurso;
141
    }
142
}
143