FairPackageMapper

readonly class \TYPO3\CMS\Extensionmanager\Remote\FairPackageMapper

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.

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'

Return values

Extension
On this page