Total Complexity | 2 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class DisabledDataException extends PaymentSlipException |
||
19 | { |
||
20 | /** |
||
21 | * The name of the requested but disabled data |
||
22 | * |
||
23 | * @var null|string |
||
24 | */ |
||
25 | protected $dataName = null; |
||
26 | |||
27 | /** |
||
28 | * Construct the message using the given data name |
||
29 | * |
||
30 | * @param string $dataName |
||
31 | */ |
||
32 | 1 | public function __construct($dataName) |
|
42 | 1 | } |
|
43 | |||
44 | /** |
||
45 | * Get the name of the requested but disabled data |
||
46 | * |
||
47 | * @return null|string The name of the requested but disabled data. |
||
48 | */ |
||
49 | 1 | public function getDataName() |
|
54 |