Completed
Push — master ( 11f8f0...b6346a )
by
unknown
04:00
created

GetPinCodeMessage   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 1
dl 0
loc 18
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDigitalContent() 0 4 1
A getDRM() 0 4 1
1
<?php
2
3
namespace Xsolla\SDK\Webhook\Message;
4
5
class GetPinCodeMessage extends Message
6
{
7
    /**
8
     * @return string
9
     */
10 1
    public function getDigitalContent()
11
    {
12 1
        return $this->request['pin_code']['digital_content'];
13
    }
14
15
    /**
16
     * @return string
17
     */
18 1
    public function getDRM()
19
    {
20 1
        return $this->request['pin_code']['DRM'];
21
    }
22
}
23