| 1 |
<?php |
| 2 |
/** |
| 3 |
* Backward-compatibility shim for Rest_API\Barcode\Client. |
| 4 |
* |
| 5 |
* The implementation has moved to Rest_API\Legacy\Barcode\Client. |
| 6 |
* This file registers a class alias so all existing callers that reference |
| 7 |
* PostNLWooCommerce\Rest_API\Barcode\Client continue to work unchanged. |
| 8 |
* |
| 9 |
* @package PostNLWooCommerce\Rest_API\Barcode |
| 10 |
*/ |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
exit; |
| 14 |
} |
| 15 |
|
| 16 |
class_alias( |
| 17 |
'PostNLWooCommerce\\Rest_API\\Legacy\\Barcode\\Client', |
| 18 |
'PostNLWooCommerce\\Rest_API\\Barcode\\Client' |
| 19 |
); |
| 20 |
|