ELP Parser API

VersionInfo
in package
implements JsonSerializable

FinalYes

Typed wrapper around version detection details.

Table of Contents

Interfaces

JsonSerializable

Properties

$data  : array<string, mixed>

Methods

__construct()  : mixed
getDeclaredMajor()  : int|null
getDeclaredVersion()  : string|null
getDetectedMajor()  : int
getSource()  : string
jsonSerialize()  : mixed
toArray()  : array<string, mixed>

Properties

Methods

__construct()

public __construct(array<string, mixed> $data) : mixed
Parameters
$data : array<string, mixed>

Version information.

getDeclaredMajor()

public getDeclaredMajor() : int|null
Return values
int|null

getDeclaredVersion()

public getDeclaredVersion() : string|null
Return values
string|null

getDetectedMajor()

public getDetectedMajor() : int
Return values
int

getSource()

public getSource() : string
Return values
string

toArray()

public toArray() : array<string, mixed>
Return values
array<string, mixed>
On this page

Search results