Device   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 35
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getVersaoApp() 0 4 1
A setVersaoApp() 0 5 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: a.moreira
5
 * Date: 19/10/2016
6
 * Time: 17:18
7
 */
8
9
namespace Integracao\ControlPay\Model;
10
11
/**
12
 * Class Device
13
 * @package Integracao\ControlPay\Model
14
 */
15
class Device
16
{
17
    /**
18
     * @var string
19
     */
20
    private $versaoApp;
21
22
    /**
23
     * Device constructor.
24
     */
25
    public function __construct()
26
    {
27
28
    }
29
30
    /**
31
     * @return string
32
     */
33
    public function getVersaoApp()
34
    {
35
        return $this->versaoApp;
36
    }
37
38
    /**
39
     * @param string $versaoApp
40
     * @return Device
41
     */
42
    public function setVersaoApp($versaoApp)
43
    {
44
        $this->versaoApp = $versaoApp;
45
        return $this;
46
    }
47
48
49
}