commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
src
Client
PackageVersion.php
1
<?php
2
3
4
namespace
Commercetools\Client
;
5
6
use Composer\InstalledVersions;
7
8
class
PackageVersion
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
}
Commercetools\Client\PackageVersion
Definition:
PackageVersion.php:9
Commercetools\Client
Definition:
AnonymousFlowTokenProvider.php:5
Generated by
1.9.1