ELP Parser API

Project
in package
implements JsonSerializable

FinalYes

Typed project facade backed by the detailed parser representation.

Table of Contents

Interfaces

JsonSerializable

Properties

$data  : array<string, mixed>

Methods

__construct()  : mixed
fromParser()  : self
getAssets()  : array<int, Asset>
getFormatFamily()  : string
getFormatVersion()  : string|null
getPages()  : array<int, Page>
getTitle()  : string
getVersionInfo()  : VersionInfo
jsonSerialize()  : mixed
toArray()  : array<string, mixed>

Properties

$data

private array<string, mixed> $data

Methods

__construct()

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

Detailed project data.

getFormatFamily()

public getFormatFamily() : string
Return values
string

getFormatVersion()

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

getPages()

public getPages() : array<int, Page>
Return values
array<int, Page>

getTitle()

public getTitle() : string
Return values
string

jsonSerialize()

public jsonSerialize() : mixed

toArray()

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

Search results