MaintenanceWindow
class \
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
selfisSupportedByCommunity()
public
isSupportedByCommunity() : bool
Return values
boolisSupportedByElts()
public
isSupportedByElts() : bool
Return values
boolisSupported()
protected
isSupported(DateTimeInterface|null $supportedUntil) : bool
Parameters
- $supportedUntil : DateTimeInterface|null