Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

Version.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 865.00 Bytes


01  <?php
02   
03  declare(strict_types=1);
04   
05  namespace ProxyManager;
06   
07  use PackageVersions\Versions;
08   
09  /**
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  }
39