MajorRelease
Table of Contents
Properties
- $lts : string|null
- $maintenanceWindow : MaintenanceWindow
- $title : string
- $version : string
Methods
- __construct() : mixed
- fromApiResponse() : self
- getLts() : string|null
- getMaintenanceWindow() : MaintenanceWindow
- getTitle() : string
- getVersion() : string
Properties
$lts
protected
string|null
$lts
= null
$maintenanceWindow
protected
MaintenanceWindow
$maintenanceWindow
$title
protected
string
$title
$version
protected
string
$version
Methods
__construct()
public
__construct(string $version, string|null $lts, string $title, MaintenanceWindow $maintenanceWindow) : mixed
Parameters
- $version : string
- $lts : string|null
- $title : string
- $maintenanceWindow : MaintenanceWindow
fromApiResponse()
public
static fromApiResponse(array<string|int, mixed> $response) : self
Parameters
- $response : array<string|int, mixed>
Return values
selfgetLts()
public
getLts() : string|null
Return values
string|nullgetMaintenanceWindow()
public
getMaintenanceWindow() : MaintenanceWindow
Return values
MaintenanceWindowgetTitle()
public
getTitle() : string
Return values
stringgetVersion()
public
getVersion() : string