Blur::__construct()   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
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 2
1
<?php
2
3
namespace XSolve\FaceValidatorBundle\Result;
4
5
class Blur
6
{
7
    /**
8
     * @var BlurLevel
9
     */
10
    private $level;
11
12
    /**
13
     * @var float
14
     */
15
    private $value;
16
17
    public function __construct(BlurLevel $level, float $value)
18
    {
19
        $this->level = $level;
20
        $this->value = $value;
21
    }
22
23
    public function getLevel(): BlurLevel
24
    {
25
        return $this->level;
26
    }
27
28
    public function getValue(): float
29
    {
30
        return $this->value;
31
    }
32
}
33