Completed
Push — master ( 48da13...c8b756 )
by Sullivan
02:22
created

SubscriberDeleteRequest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getRequestType() 0 4 1
1
<?php
2
3
namespace Nexy\PayboxDirect\Request;
4
5
/**
6
 * @author Sullivan Senechal <[email protected]>
7
 */
8
final class SubscriberDeleteRequest extends AbstractRequest
9
{
10
    /**
11
     * @param string $subscriberRef
12
     */
13
    public function __construct($subscriberRef)
14
    {
15
        parent::__construct($subscriberRef);
16
    }
17
18
    /**
19
     * {@inheritdoc}
20
     */
21
    public function getRequestType()
22
    {
23
        return RequestInterface::SUBSCRIBER_DELETE;
24
    }
25
}
26