Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class Error { |
||
16 | /** |
||
17 | * Pay.nl error ID |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | private $id; |
||
22 | |||
23 | /** |
||
24 | * Pay.nl error message |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $message; |
||
29 | |||
30 | /** |
||
31 | * Constructs and initializes an Pay.nl error object |
||
32 | * |
||
33 | * @param string $id |
||
34 | * @param string $message |
||
35 | */ |
||
36 | 2 | public function __construct( $id, $message ) { |
|
39 | 2 | } |
|
40 | |||
41 | /** |
||
42 | * Create an string representation of this object |
||
43 | * |
||
44 | * @return string |
||
45 | */ |
||
46 | 2 | public function __toString() { |
|
50 |