Total Complexity | 2 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class Message { |
||
16 | /** |
||
17 | * The XML version of the iDEAL messages |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | const XML_VERSION = '1.0'; |
||
22 | |||
23 | /** |
||
24 | * The XML encoding of the iDEAL messages |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | const XML_ENCODING = 'UTF-8'; |
||
29 | |||
30 | /** |
||
31 | * The name of this message |
||
32 | * |
||
33 | * @var string |
||
34 | */ |
||
35 | private $name; |
||
36 | |||
37 | /** |
||
38 | * Constructs and initialize an message |
||
39 | * |
||
40 | * @param string $name Name. |
||
41 | */ |
||
42 | 3 | public function __construct( $name ) { |
|
44 | 3 | } |
|
45 | |||
46 | /** |
||
47 | * Get the name of this message |
||
48 | * |
||
49 | * @return string |
||
50 | */ |
||
51 | 3 | public function get_name() { |
|
55 |