# sync-basalam/1.10.21/tests/Support/FetchCommissionStubs.php

ووسلام – همگام سازی ووکامرس و باسلام, version 1.10.21. 15 lines.

- Page: https://pluginprobe.com/plugins/sync-basalam/1.10.21/code/tests/Support/FetchCommissionStubs.php
- Raw: https://pluginprobe.com/plugins/sync-basalam/1.10.21/raw/tests/Support/FetchCommissionStubs.php
- Modified: 2026-09-20T11:25:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sync-basalam/1.10.21/code/tests/Support/FetchCommissionStubs.php#L10-L20`.

```php
<?php

namespace SyncBasalam\Services\Products;

if (!function_exists(__NAMESPACE__ . '\\syncBasalamContainer')) {
    function syncBasalamContainer()
    {
        if (!isset($GLOBALS['sync_basalam_test_container'])) {
            throw new \RuntimeException('The test service container has not been configured.');
        }

        return $GLOBALS['sync_basalam_test_container'];
    }
}

```
