TerExtension
final readonly class \
Value object mirroring the top-level "extension" schema of the TER REST API.
Internal
This class is not part of the Public TYPO3 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
= ''
$currentVersion
public
TerExtensionVersion|null
$currentVersion
= null
$documentationLink
public
string
$documentationLink
= ''
$downloads
public
int
$downloads
= 0
$key
public
string
$key
$owner
public
string
$owner
= ''
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