Completed
Push — master ( ec0178...c6402c )
by Alessandro
04:17
created

SendMethods::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

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