ResponseFilterParameter   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
c 1
b 0
f 0
dl 0
loc 34
ccs 0
cts 9
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setSelfInfoFilter() 0 5 1
A setGroupBaseInfoFilter() 0 5 1
1
<?php
2
3
namespace EasyIM\TencentIM\Group\Parameter\Member;
4
5
use EasyIM\Kernel\Parameter;
6
7
/**
8
 * Class ResponseFilterParameter
9
 *
10
 * @package EasyIM\TencentIM\Group\Parameter\Member
11
 * @author  yingzhan <[email protected]>
12
 *
13
 */
14
class ResponseFilterParameter extends Parameter
15
{
16
    /**
17
     * @var array
18
     */
19
    protected $properties = [
20
        'GroupBaseInfoFilter',
21
        'SelfInfoFilter'
22
    ];
23
24
    /**
25
     *
26
     * @param array $value
27
     *
28
     * @return $this
29
     */
30
    public function setGroupBaseInfoFilter(array $value)
31
    {
32
        $this->setAttribute('GroupBaseInfoFilter', $value);
33
34
        return $this;
35
    }
36
37
    /**
38
     *
39
     * @param array $value
40
     *
41
     * @return $this
42
     */
43
    public function setSelfInfoFilter(array $value)
44
    {
45
        $this->setAttribute('SelfInfoFilter', $value);
46
47
        return $this;
48
    }
49
}
50