| 1: | <?php |
| 2: | /* |
| 3: | * This class was auto-generated from the API references found at |
| 4: | * https://apireference.connect.worldline-solutions.com/ |
| 5: | */ |
| 6: | namespace Worldline\Connect\Sdk\Webhooks; |
| 7: | |
| 8: | use Worldline\Connect\Sdk\V1\Webhooks\V1WebhooksFactory; |
| 9: | |
| 10: | /** |
| 11: | * Worldline Global Collect platform factory for several webhooks components. |
| 12: | */ |
| 13: | class Webhooks |
| 14: | { |
| 15: | /** @var V1WebhooksFactory */ |
| 16: | private static $V1 = null; |
| 17: | |
| 18: | private function __construct() { |
| 19: | } |
| 20: | |
| 21: | public static function v1() { |
| 22: | if (is_null(self::$V1)) { |
| 23: | self::$V1 = new V1WebhooksFactory(); |
| 24: | } |
| 25: | return self::$V1; |
| 26: | } |
| 27: | } |
| 28: |