CustomTransaction::getVal()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace PimpayBundle\Model;
4
5
/**
6
 * Class CustomTransaction
7
 * @package PimpayBundle\Model
8
 */
9
class CustomTransaction
10
{
11
    /**
12
     * @var float
13
     */
14
    private $val;
15
16
    /**
17
     * @var string
18
     */
19
    private $cmt;
20
21
    /**
22
     * @return float
23
     */
24
    public function getVal(): float
25
    {
26
        return $this->val;
27
    }
28
29
    /**
30
     * @param float $val
31
     */
32
    public function setVal(float $val)
33
    {
34
        $this->val = $val;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getCmt(): string
41
    {
42
        return $this->cmt;
43
    }
44
45
    /**
46
     * @param string $cmt
47
     */
48
    public function setCmt(string $cmt)
49
    {
50
        $this->cmt = $cmt;
51
    }
52
}
53