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<string|int, mixed> $response) : self
Parameters
$response : array<string|int, mixed>
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

Search results