Raw   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 24
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace YEntWeChat\Message;
4
5
/**
6
 * Class Raw.
7
 *
8
 * @property string $content
9
 */
10
class Raw extends AbstractMessage
11
{
12
    /**
13
     * @var string
14
     */
15
    protected $type = 'raw';
16
17
    /**
18
     * Properties.
19
     *
20
     * @var array
21
     */
22
    protected $properties = ['content'];
23
24
    /**
25
     * Constructor.
26
     *
27
     * @param string $content
28
     */
29
    public function __construct($content)
30
    {
31
        parent::__construct(['content' => strval($content)]);
32
    }
33
}
34