TerExtensionVersion

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

Value object mirroring the "version" schema of the TER REST API.

Table of Contents

Properties

$artifactSha256  : string
$author  : TerAuthor|null
$category  : string
$conflicts  : array
$dependencies  : array
$description  : string
$number  : string
$reviewState  : int
$state  : string
$title  : string
$uploadComment  : string
$uploadDate  : int

Methods

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

Properties

$artifactSha256

public string $artifactSha256 = ''

$dependencies

public array $dependencies = []

$description

public string $description = ''

$uploadComment

public string $uploadComment = ''

Methods

__construct()

public __construct(string $number[, string $title = '' ][, string $description = '' ][, string $uploadComment = '' ][, string $state = '' ][, string $category = '' ][, array<string, string> $dependencies = [] ][, array<string, string> $conflicts = [] ][, int $uploadDate = 0 ][, int $reviewState = 0 ][, TerAuthor|null $author = null ][, string $artifactSha256 = '' ]) : mixed

Parameters

$number : string
$title : string = ''
$description : string = ''
$uploadComment : string = ''
$state : string = ''
$category : string = ''
$dependencies : array<string, string> = []

map of extension key => version constraint

$conflicts : array<string, string> = []

map of extension key => version constraint

$uploadDate : int = 0
$reviewState : int = 0
$author : TerAuthor|null = null
$artifactSha256 : string = ''

fromArray()

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

Parameters

$data : array|null

Return values

self|null
On this page