Pessoa   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getNome() 0 4 1
A getBanco() 0 4 1
A setNome() 0 5 1
A setBanco() 0 5 1
1
<?php
2
3
namespace Umbrella\Ya\RetornoBoleto\Model;
4
5
class Pessoa
6
{
7
    protected $nome;
8
9
    /**
10
     *
11
     * @var Banco
12
     */
13
    protected $banco;
14
15
    public function getNome()
16
    {
17
        return $this->nome;
18
    }
19
20
    public function getBanco()
21
    {
22
        return $this->banco;
23
    }
24
25
    /**
26
     * @param string $nome
27
     */
28
    public function setNome($nome)
29
    {
30
        $this->nome = $nome;
31
        return $this;
32
    }
33
34
    public function setBanco(Banco $banco)
35
    {
36
        $this->banco = $banco;
37
        return $this;
38
    }
39
}
40