MaintenanceWindow

class \TYPO3\CMS\Install\CoreVersion\MaintenanceWindow

Table of Contents

Properties

$communitySupport  : DateTimeInterface|null
$eltsSupport  : DateTimeInterface|null

Methods

__construct()  : mixed
fromApiResponse()  : self
isSupportedByCommunity()  : bool
isSupportedByElts()  : bool
isSupported()  : bool

Properties

$communitySupport read-only

protected DateTimeInterface|null $communitySupport

$eltsSupport read-only

protected DateTimeInterface|null $eltsSupport

Methods

__construct()

public __construct(DateTimeInterface|null $communitySupport, DateTimeInterface|null $eltsSupport) : mixed

Parameters

$communitySupport : DateTimeInterface|null
$eltsSupport : DateTimeInterface|null

fromApiResponse()

public static fromApiResponse(array $response) : self

Parameters

$response : array

Return values

self

isSupportedByCommunity()

public isSupportedByCommunity() : bool

Return values

bool

isSupportedByElts()

public isSupportedByElts() : bool

Return values

bool

isSupported()

protected isSupported(DateTimeInterface|null $supportedUntil) : bool

Parameters

$supportedUntil : DateTimeInterface|null

Return values

bool
On this page