SendMethods   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 54
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 54
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A all() 0 6 1
1
<?php declare(strict_types=1);
2
3
namespace Fazland\SkebbyRestClient\Constant;
4
5
/**
6
 * Represents the Skebby SendMethods.
7
 *
8
 * @author Massimiliano Braglia <[email protected]>
9
 */
10
class SendMethods
11
{
12
    /**
13
     * Represents send method classic (simple SMS without delivery report).
14
     *
15
     * @const
16
     */
17
    const CLASSIC = 'send_sms_classic';
18
19
    /**
20
     * Represents send method classic plus (simple SMS with delivery report).
21
     *
22
     * @const
23
     */
24
    const CLASSIC_PLUS = 'send_sms_classic_report';
25
26
    /**
27
     * Represents send method basic (simple SMS without delivery warranty and delivery report).
28
     *
29
     * @const
30
     */
31
    const BASIC = 'send_sms_basic';
32
33
    /**
34
     * IT WON'T SEND SMS.
35
     * Represents send method classic (simple SMS without delivery report).
36
     *
37
     * @const
38
     */
39
    const TEST_CLASSIC = 'test_send_sms_classic';
40
41
    /**
42
     * IT WON'T SEND SMS.
43
     * Represents send method classic plus (simple SMS with delivery report).
44
     *
45
     * @const
46
     */
47
    const TEST_CLASSIC_PLUS = 'test_send_sms_classic_report';
48
49
    /**
50
     * IT WON'T SEND SMS.
51
     * Represents send method basic (simple SMS without delivery warranty and delivery report).
52
     *
53
     * @const
54
     */
55
    const TEST_BASIC = 'test_send_sms_basic';
56
57 7
    public static function all()
58
    {
59 7
        $reflectedClass = new \ReflectionClass(__CLASS__);
60
61 7
        return $reflectedClass->getConstants();
62
    }
63
}
64