ChatChannelEmoticons   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 23
ccs 0
cts 8
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getEmoticons() 0 4 1
A setEmoticons() 0 4 1
1
<?php
2
namespace Redbox\Twitch;
3
4
class ChatChannelEmoticons
5
{
6
    /**
7
     * @var array
8
     */
9
    protected $emoticons = [];
10
11
    /**
12
     * @return array
13
     */
14
    public function getEmoticons()
15
    {
16
        return $this->emoticons;
17
    }
18
19
    /**
20
     * @param array $emoticons
21
     */
22
    public function setEmoticons($emoticons)
23
    {
24
        $this->emoticons = $emoticons;
25
    }
26
}