TerExtensionMapper
readonly class \
Turns what the TER REST API reports into the extension model the rest of the Extension Manager works with.
This deliberately does not live on the model: the wire format of one remote is not something the domain should know. A second remote - the FAIR beacon, say, whose documents carry neither category nor owner nor review state - brings its own value objects and its own mapper, rather than another factory on Extension.
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(TerExtension $remoteExtension[, TerExtensionVersion|null $version = null ][, string $remoteIdentifier = 'ter' ]) : Extension
Parameters
- $remoteExtension : TerExtension
- $version : TerExtensionVersion|null = null
- $remoteIdentifier : string = 'ter'