[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 declare(strict_types=1); 4 5 namespace ProxyManager; 6 7 use PackageVersions\Versions; 8 9 /** 10 * Version class - to be adjusted when a new release is created. 11 * 12 * Note that we cannot check the version at runtime via `git` because that would cause a lot of I/O operations. 13 * 14 * @author Marco Pivetta <ocramius@gmail.com> 15 * @license MIT 16 */ 17 final class Version 18 { 19 /** 20 * Private constructor - this class is not meant to be instantiated 21 */ 22 private function __construct() 23 { 24 } 25 26 /** 27 * Retrieves the package version in the format <detected-version>@<commit-hash>, 28 * where the detected version is what composer could detect. 29 * 30 * @return string 31 * 32 * @throws \OutOfBoundsException 33 */ 34 public static function getVersion() : string 35 { 36 return Versions::getVersion('ocramius/proxy-manager'); 37 } 38 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |