PluginProbe
PostNL for WooCommerce / 4.4.1
PostNL for WooCommerce v4.4.1
5.9.12 5.9.11 5.9.10 5.9.9 5.9.8 5.9.7 5.9.6 trunk 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.1.4 3.1.5 3.1.6 3.1.7 4.0.0 4.0.1 4.0.2 4.3.2 4.3.3 4.4.0 4.4.1 All 72 releases
woo-postnl / vendor / myparcelnl / sdk / src / Concerns / HasDebugLabels.php

HasDebugLabels.php in PostNL for WooCommerce 4.4.1, at vendor/myparcelnl/sdk/src/Concerns/HasDebugLabels.php

28 lines 554 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php declare(strict_types=1);
2 /**
3 * @author Richard Perdaan <[email protected]>
4 */
5
6 namespace MyParcelNL\Sdk\src\Concerns;
7
8
9 trait HasDebugLabels
10 {
11 /**
12 * @param $myParcelCollection
13 * @param $massage
14 *
15 * @return void
16 */
17 public function debugLinkOfLabels($myParcelCollection, $massage): void
18 {
19 if (! getenv('CI')) {
20 echo "\033[32mGenerated " . $massage . ": \033[0m";
21 print_r($myParcelCollection->getLinkOfLabels());
22 echo "\n\033[0m";
23 }
24
25 return;
26 }
27 }
28