TerExtension

final readonly class \TYPO3\CMS\Extensionmanager\Remote\Dto\TerExtension

Value object mirroring the top-level "extension" schema of the TER REST API.

Table of Contents

Properties

$composerName  : string
$currentVersion  : TerExtensionVersion|null
$documentationLink  : string
$downloads  : int
$key  : string
$owner  : string

Methods

__construct()  : mixed
fromArray()  : self|null

Properties

$composerName

public string $composerName = ''
public string $documentationLink = ''

Methods

__construct()

public __construct(string $key[, string $owner = '' ][, int $downloads = 0 ][, string $composerName = '' ][, string $documentationLink = '' ][, TerExtensionVersion|null $currentVersion = null ]) : mixed

Parameters

$key : string
$owner : string = ''
$downloads : int = 0
$composerName : string = ''
$documentationLink : string = ''
$currentVersion : TerExtensionVersion|null = null

fromArray()

public static fromArray(array|null $data) : self|null

Parameters

$data : array|null

Return values

self|null
On this page