Trailer   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getValorTotal() 0 4 1
A getQuantidadeRegistros() 0 4 1
A setValorTotal() 0 5 1
A setQuantidadeRegistros() 0 5 1
1
<?php
2
3
namespace Umbrella\Ya\RetornoBoleto\Cnab\Cnab150;
4
5
use Umbrella\Ya\RetornoBoleto\Cnab\CnabTrailerInterface;
6
7
class Trailer extends AbstractCnab150 implements CnabTrailerInterface
8
{
9
    protected $valorTotal;
10
    protected $quantidadeRegistros;
11
12
    public function getValorTotal()
13
    {
14
        return $this->valorTotal;
15
    }
16
17
    public function getQuantidadeRegistros()
18
    {
19
        return $this->quantidadeRegistros;
20
    }
21
22
    public function setValorTotal($valorTotal)
23
    {
24
        $this->valorTotal = $valorTotal;
25
        return $this;
26
    }
27
28
    public function setQuantidadeRegistros($quantidadeRegistros)
29
    {
30
        $this->quantidadeRegistros = $quantidadeRegistros;
31
        return $this;
32
    }
33
}
34