Total Complexity | 9 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | * Returns the version number from an alias. |
||
16 | * |
||
17 | * Supported aliases are: |
||
18 | * |
||
19 | * - first: The very first version before any migrations have been run. |
||
20 | * - current: The current version. |
||
21 | * - prev: The version prior to the current version. |
||
22 | * - next: The version following the current version. |
||
23 | * - latest: The latest available version. |
||
24 | * |
||
25 | * If an existing version number is specified, it is returned verbatim. |
||
26 | */ |
||
27 | public function resolveVersionAlias(string $alias) : Version; |
||
28 | } |
||
29 |