Completed
Push — master ( 7b5497...463aa4 )
by Alessandro
04:20
created

SendMethods::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
ccs 0
cts 3
cp 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
crap 2
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
    public static function all()
56
    {
57
        $reflectedClass = new \ReflectionClass(__CLASS__);
58
        return $reflectedClass->getConstants();
59
    }
60
}
61