VersionConverterInterface
API reference › Foxy › Converter › VersionConverterInterface
Implemented by 1 type
Converts an asset-manager version to a Composer-compatible version.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
convertVersion() abstract | Converts the asset version to composer version. | VersionConverterInterface |
Method details
Section titled “Method details”convertVersion()
Section titled “convertVersion() ”abstract public function convertVersion(string|null $version = null): stringConverts the asset version to composer version.
Parameters
| Parameter | Type | Description |
|---|---|---|
$version | string| | The asset version |
Returns
string: The composer version