BaseFilterItem   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 36
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getType() 0 3 1
A setType() 0 3 1
A getValue() 0 3 1
A setValue() 0 3 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: siim
5
 * Date: 28.01.19
6
 * Time: 18:53
7
 */
8
9
namespace Sf4\Api\Dto\Filter;
10
11
class BaseFilterItem implements FilterItemInterface
12
{
13
    protected $type;
14
15
    protected $value;
16
17
    /**
18
     * @return mixed
19
     */
20
    public function getType()
21
    {
22
        return $this->type;
23
    }
24
25
    /**
26
     * @param mixed $type
27
     */
28
    public function setType($type): void
29
    {
30
        $this->type = $type;
31
    }
32
33
    /**
34
     * @return mixed
35
     */
36
    public function getValue()
37
    {
38
        return $this->value;
39
    }
40
41
    /**
42
     * @param mixed $value
43
     */
44
    public function setValue($value): void
45
    {
46
        $this->value = $value;
47
    }
48
}
49