TerExtensionVersion
final readonly class \
Value object mirroring the "version" schema of the TER REST API.
Internal
This class is not part of the Public TYPO3 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
= ''
$author
public
TerAuthor|null
$author
= null
$category
public
string
$category
= ''
$conflicts
public
array
$conflicts
= []
$dependencies
public
array
$dependencies
= []
$description
public
string
$description
= ''
$number
public
string
$number
$reviewState
public
int
$reviewState
= 0
$state
public
string
$state
= ''
$title
public
string
$title
= ''
$uploadComment
public
string
$uploadComment
= ''
$uploadDate
public
int
$uploadDate
= 0
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