Completed
Push — master ( f97b5b...252fb7 )
by Sam
02:27
created

PopularChannelsResponse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Jalle19\StatusManager\Message\Response;
4
5
use Jalle19\StatusManager\Message\AbstractMessage;
6
7
/**
8
 * Class PopularChannelsResponse
9
 * @package Jalle19\StatusManager\Message\Response
10
 * @copyright Copyright &copy; Sam Stenvall 2016-
11
 * @license   https://www.gnu.org/licenses/gpl.html The GNU General Public License v2.0
12
 */
13
class PopularChannelsResponse extends AbstractMessage
14
{
15
16
	/**
17
	 * PopularChannelsResponse constructor.
18
	 *
19
	 * @param mixed $payload
20
	 */
21
	public function __construct($payload)
22
	{
23
		parent::__construct(self::TYPE_POPULAR_CHANNELS_RESPONSE, $payload);
24
	}
25
26
}
27