commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
PackageVersion.php
1<?php
2
3
5
6use Composer\InstalledVersions;
7
9{
10 public static function get(): ?string
11 {
12 if (class_exists("\Composer\InstalledVersions")) {
13 return InstalledVersions::getPrettyVersion('commercetools/commercetools-sdk');
14 }
15 return null;
16 }
17}