Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
51 | public function getLabelContent(): ?string |
||
52 | { |
||
53 | if (!isset($this->response->createShipmentResult)) { |
||
|
|||
54 | return ''; |
||
55 | } |
||
56 | |||
57 | $this->flashBag->add('success', 'bitbag.ui.shipment_data_has_been_exported'); // Add success notification |
||
58 | |||
59 | return base64_decode($this->response->createShipmentResult->label->labelContent); |
||
60 | } |
||
62 |