CoreRelease
class \
Table of Contents
Constants
- RELEASE_TYPE_REGULAR : mixed = 'regular'
- RELEASE_TYPE_SECURITY : mixed = 'security'
Properties
Methods
- __construct() : mixed
- fromApiResponse() : self
- getChecksum() : string
- getDate() : DateTimeInterface
- getVersion() : string
- isElts() : bool
- isSecurityUpdate() : bool
Constants
RELEASE_TYPE_REGULAR
protected
mixed
RELEASE_TYPE_REGULAR
= 'regular'
RELEASE_TYPE_SECURITY
protected
mixed
RELEASE_TYPE_SECURITY
= 'security'
Properties
$checksum read-only
protected
string
$checksum
$date read-only
protected
DateTimeInterface
$date
$isElts read-only
protected
bool
$isElts
= false
$type read-only
protected
string
$type
$version read-only
protected
string
$version
Methods
__construct()
public
__construct(string $version, DateTimeInterface $date, string $type, string $checksum[, bool $isElts = false ]) : mixed
Parameters
- $version : string
- $date : DateTimeInterface
- $type : string
- $checksum : string
- $isElts : bool = false
fromApiResponse()
public
static fromApiResponse(array $response) : self
Parameters
- $response : array
Return values
selfgetChecksum()
public
getChecksum() : string
Return values
stringgetDate()
public
getDate() : DateTimeInterface
Return values
DateTimeInterfacegetVersion()
public
getVersion() : string
Return values
stringisElts()
public
isElts() : bool
Return values
boolisSecurityUpdate()
public
isSecurityUpdate() : bool