Header::getDensidade()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
c 3
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Umbrella\Ya\RetornoBoleto\Cnab\Cnab240;
4
5
use DateTime;
6
use Umbrella\Ya\RetornoBoleto\Cnab\CnabHeaderInterface;
7
8
class Header extends AbstractHeader implements CnabHeaderInterface
9
{
10
    protected $codArquivo;
11
    protected $densidade;
12
13
    /**
14
     *
15
     * @var DateTime
16
     */
17
    protected $dataGeracao;
18
    protected $sequencialRet;
19
20
    public function getCodArquivo()
21
    {
22
        return $this->codArquivo;
23
    }
24
25
    public function getDensidade()
26
    {
27
        return $this->densidade;
28
    }
29
30
    public function getDataGeracao()
31
    {
32
        return $this->dataGeracao;
33
    }
34
35
    public function getSequencialRet()
36
    {
37
        return $this->sequencialRet;
38
    }
39
40
    /**
41
     * @param string $codArquivo
42
     */
43
    public function setCodArquivo($codArquivo)
44
    {
45
        $this->codArquivo = $codArquivo;
46
        return $this;
47
    }
48
49
    public function setDensidade($densidade)
50
    {
51
        $this->densidade = $densidade;
52
        return $this;
53
    }
54
55
    public function setDataGeracao($dataGeracao)
56
    {
57
        $this->dataGeracao = $dataGeracao;
58
        return $this;
59
    }
60
61
    /**
62
     * @param string $sequencialRet
63
     */
64
    public function setSequencialRet($sequencialRet)
65
    {
66
        $this->sequencialRet = $sequencialRet;
67
        return $this;
68
    }
69
}
70