File: //usr/share/php/ProxyManager/Version.php
<?php
declare(strict_types=1);
namespace ProxyManager;
/**
* Version class - to be adjusted when a new release is created.
*
* Note that we cannot check the version at runtime via `git` because that would cause a lot of I/O operations.
*
* @author Marco Pivetta <ocramius@gmail.com>
* @license MIT
*/
final class Version
{
/**
* Private constructor - this class is not meant to be instantiated
*/
private function __construct()
{
}
/**
* Retrieves the package version in the format <detected-version>@<commit-hash>,
* where the detected version is what composer could detect.
*
* @return string
*
* @throws \OutOfBoundsException
*/
public static function getVersion() : string
{
return '2.2.3@4d154742e31c35137d5374c998e8f86b54db2e2f';
}
}