ResponseFilterParameter::setSelfInfoFilter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 5
ccs 0
cts 4
cp 0
crap 2
rs 10
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