Trailer   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 4
Bugs 1 Features 0
Metric Value
wmc 6
c 4
b 1
f 0
lcom 0
cbo 1
dl 0
loc 48
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getQuantidadeLotes() 0 4 1
A getQuantidadeRegistros() 0 4 1
A getQuantidadeContasConc() 0 4 1
A setQuantidadeLotes() 0 5 1
A setQuantidadeRegistros() 0 5 1
A setQuantidadeContasConc() 0 5 1
1
<?php
2
3
namespace Umbrella\Ya\RetornoBoleto\Cnab\Cnab240;
4
5
use Umbrella\Ya\RetornoBoleto\Cnab\CnabTrailerInterface;
6
7
class Trailer extends AbstractTrailer implements CnabTrailerInterface
8
{
9
    protected $quantidadeLotes;
10
    protected $quantidadeRegistros;
11
    protected $quantidadeContasConc;
12
13
    public function getQuantidadeLotes()
14
    {
15
        return $this->quantidadeLotes;
16
    }
17
18
    public function getQuantidadeRegistros()
19
    {
20
        return $this->quantidadeRegistros;
21
    }
22
23
    public function getQuantidadeContasConc()
24
    {
25
        return $this->quantidadeContasConc;
26
    }
27
28
    /**
29
     * @param string $quantidadeLotes
30
     */
31
    public function setQuantidadeLotes($quantidadeLotes)
32
    {
33
        $this->quantidadeLotes = $quantidadeLotes;
34
        return $this;
35
    }
36
37
    /**
38
     * @param string $quantidadeRegistros
39
     */
40
    public function setQuantidadeRegistros($quantidadeRegistros)
41
    {
42
        $this->quantidadeRegistros = $quantidadeRegistros;
43
        return $this;
44
    }
45
46
    /**
47
     * @param string $quantidadeContasConc
48
     */
49
    public function setQuantidadeContasConc($quantidadeContasConc)
50
    {
51
        $this->quantidadeContasConc = $quantidadeContasConc;
52
        return $this;
53
    }
54
}
55