FairPackageMapper
readonly class \
Turns one release of a FAIR metadata document into the extension model the rest of the Extension Manager works with.
A FAIR document knows neither state, category, owner nor download counts, so those stay at their defaults - resolving a package for download does not need them, browsing does and reads the catalogue instead.
Internal
This class is a specific ExtensionManager implementation and is not part of the Public TYPO3 API.
Table of Contents
Methods
- map() : Extension
- The remote identifier is kept so downloading still resolves the registered remote for the package, which is what fetches and verifies the archive.
Methods
map()
The remote identifier is kept so downloading still resolves the registered remote for the package, which is what fetches and verifies the archive.
public
map(FairPackage $package, FairRelease $release[, string $remoteIdentifier = 'ter' ]) : Extension
Parameters
- $package : FairPackage
- $release : FairRelease
- $remoteIdentifier : string = 'ter'